Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007311/0.007311, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 68.12 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9484/0.9499, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1966/1.147, allocations: 168.4 MB / 1.372 GB, free: 4.492 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02512/1.172, allocations: 17.36 MB / 1.389 GB, free: 3.082 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.174, allocations: 27.81 kB / 1.389 GB, free: 3.055 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/1.176, allocations: 0.5895 MB / 1.389 GB, free: 2.461 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/1.183, allocations: 1.819 MB / 1.391 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/1.187, allocations: 1.447 MB / 1.392 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004732/1.192, allocations: 2.902 MB / 1.395 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/1.196, allocations: 1.94 MB / 1.397 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005057/1.201, allocations: 1.472 MB / 1.399 GB, free: 8.871 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/1.204, allocations: 1.124 MB / 1.4 GB, free: 7.742 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009534/1.205, allocations: 224 kB / 1.4 GB, free: 7.523 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004591/1.209, allocations: 1.556 MB / 1.401 GB, free: 5.965 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001832/1.211, allocations: 0.7984 MB / 1.402 GB, free: 5.164 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003161/1.214, allocations: 1.279 MB / 1.404 GB, free: 3.879 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007859/1.222, allocations: 3.734 MB / 1.407 GB, free: 136 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.222, allocations: 0 / 1.407 GB, free: 136 kB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/1.222, allocations: 4 kB / 1.407 GB, free: 132 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001775/1.222, allocations: 0 / 1.407 GB, free: 132 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.008485/1.231, allocations: 2.923 MB / 1.41 GB, free: 13.14 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/1.231, allocations: 12.03 kB / 1.41 GB, free: 13.13 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006325/1.232, allocations: 248.9 kB / 1.41 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/1.236, allocations: 0.5628 MB / 1.411 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/1.241, allocations: 3.429 MB / 1.414 GB, free: 8.832 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/1.241, allocations: 131.4 kB / 1.414 GB, free: 8.703 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004939/1.242, allocations: 168 kB / 1.414 GB, free: 8.539 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/1.247, allocations: 1.964 MB / 1.416 GB, free: 6.523 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/1.247, allocations: 8 kB / 1.416 GB, free: 6.516 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/1.247, allocations: 68 kB / 1.416 GB, free: 6.449 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/1.247, allocations: 43.94 kB / 1.416 GB, free: 6.406 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/1.251, allocations: 2.117 MB / 1.419 GB, free: 4.285 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/1.263, allocations: 6.707 MB / 1.425 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/1.267, allocations: 2.13 MB / 1.427 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.268, allocations: 0.7771 MB / 1.428 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/1.269, allocations: 429.7 kB / 1.428 GB, free: 9.758 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/1.27, allocations: 1.017 MB / 1.429 GB, free: 8.723 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.386e-06/1.27, allocations: 0 / 1.429 GB, free: 8.723 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007049/1.278, allocations: 3.004 MB / 1.432 GB, free: 5.605 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.278, allocations: 193.2 kB / 1.432 GB, free: 5.371 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005136/1.283, allocations: 4.085 MB / 1.436 GB, free: 1.281 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004602/1.283, allocations: 57.7 kB / 1.437 GB, free: 1.219 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008424/1.284, allocations: 0.9023 MB / 1.437 GB, free: 312 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/1.285, allocations: 485 kB / 1.438 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/1.285, allocations: 242.8 kB / 1.438 GB, free: 15.58 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.285, allocations: 353.9 kB / 1.438 GB, free: 15.23 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.287, allocations: 0.5765 MB / 1.439 GB, free: 14.65 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/1.288, allocations: 0.8086 MB / 1.44 GB, free: 13.78 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/1.29, allocations: 1.337 MB / 1.441 GB, free: 12.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.29, allocations: 4 kB / 1.441 GB, free: 12.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004402/1.295, allocations: 1.799 MB / 1.443 GB, free: 10.6 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.295, allocations: 4 kB / 1.443 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.295, allocations: 4 kB / 1.443 GB, free: 10.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.296, allocations: 208.2 kB / 1.443 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.298, allocations: 335.5 kB / 1.443 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008692/1.307, allocations: 7.304 MB / 1.451 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/1.309, allocations: 178.8 kB / 1.451 GB, free: 1.863 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/1.31, allocations: 51.95 kB / 1.451 GB, free: 1.812 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001635/1.311, allocations: 489.6 kB / 1.451 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008257/1.312, allocations: 197.6 kB / 1.451 GB, free: 1.129 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/1.319, allocations: 2.146 MB / 1.453 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.32, allocations: 16 kB / 1.453 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.32, allocations: 4 kB / 1.453 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.32, allocations: 7.969 kB / 1.453 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.33, allocations: 4.136 MB / 1.458 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.33, allocations: 3.938 kB / 1.458 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.332, allocations: 315.6 kB / 1.458 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008549/1.333, allocations: 204.1 kB / 1.458 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/1.333, allocations: 39.97 kB / 1.458 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/1.338, allocations: 7.359 MB / 1.465 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.338, allocations: 0 / 1.465 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/1.343, allocations: 2.028 MB / 1.467 GB, free: 8 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.344, allocations: 0.5098 MB / 1.468 GB, free: 15.48 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/1.344, allocations: 32 kB / 1.468 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.346, allocations: 108.5 kB / 1.468 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/1.346, allocations: 117.1 kB / 1.468 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.346, allocations: 71.95 kB / 1.468 GB, free: 15.16 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003428/1.35, allocations: 3.128 MB / 1.471 GB, free: 12.04 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.62e-07/1.35, allocations: 0 / 1.471 GB, free: 12.04 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002527/1.352, allocations: 0.6976 MB / 1.472 GB, free: 11.34 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006648/1.359, allocations: 3.247 MB / 1.475 GB, free: 8.242 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003925/1.363, allocations: 2.07 MB / 1.477 GB, free: 6.109 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.363, allocations: 4.625 kB / 1.477 GB, free: 6.105 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/1.365, allocations: 1.422 MB / 1.478 GB, free: 4.617 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/1.368, allocations: 0.5525 MB / 1.479 GB, free: 4.086 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/1.402, allocations: 21 MB / 1.499 GB, free: 14.84 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.403, allocations: 1.533 MB / 1.501 GB, free: 13.28 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001965/1.405, allocations: 0.5406 MB / 1.501 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.407, allocations: 0.8936 MB / 1.502 GB, free: 11.84 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/1.407, allocations: 0 / 1.502 GB, free: 11.84 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.516, allocations: 49.34 MB / 1.551 GB, free: 11.05 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.95, allocations: 5.906 kB / 1.551 GB, free: 11.05 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches