Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 215.7 kB / 23.03 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.8 MB / 0.7715 GB, free: 3.844 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 64.44 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3649, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2008/0.5657, allocations: 155.7 MB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.582, allocations: 10.3 MB / 1.446 GB, free: 3.969 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.5836, allocations: 43.62 kB / 1.446 GB, free: 3.926 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.585, allocations: 424.7 kB / 1.447 GB, free: 3.508 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.5886, allocations: 1.134 MB / 1.448 GB, free: 2.371 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.5934, allocations: 1.749 MB / 1.449 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.5974, allocations: 2.424 MB / 1.452 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.5994, allocations: 1.121 MB / 1.453 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.6036, allocations: 1.339 MB / 1.454 GB, free: 11.71 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.605, allocations: 0.8403 MB / 1.455 GB, free: 10.87 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.6053, allocations: 159.9 kB / 1.455 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.6084, allocations: 1.302 MB / 1.456 GB, free: 9.406 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004783/0.6089, allocations: 458.6 kB / 1.457 GB, free: 8.957 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008279/0.6097, allocations: 0.6454 MB / 1.458 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/0.614, allocations: 2.631 MB / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.614, allocations: 0 / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.483e-06/0.614, allocations: 0 / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.614, allocations: 8 kB / 1.46 GB, free: 5.66 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003726/0.6178, allocations: 1.883 MB / 1.462 GB, free: 3.73 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.6178, allocations: 8.031 kB / 1.462 GB, free: 3.723 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.307e-05/0.6179, allocations: 30.33 kB / 1.462 GB, free: 3.691 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.6181, allocations: 181.4 kB / 1.462 GB, free: 3.504 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/0.621, allocations: 402.6 kB / 1.463 GB, free: 3.109 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.6229, allocations: 0.9279 MB / 1.463 GB, free: 2.152 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.623, allocations: 86.33 kB / 1.464 GB, free: 2.066 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.6232, allocations: 112 kB / 1.464 GB, free: 1.957 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.6259, allocations: 1.683 MB / 1.465 GB, free: 120 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6259, allocations: 3.938 kB / 1.465 GB, free: 116 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.6261, allocations: 48 kB / 1.465 GB, free: 68 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.6261, allocations: 28 kB / 1.465 GB, free: 40 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.6287, allocations: 1.453 MB / 1.467 GB, free: 14.58 MB / 1.17 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.006352/0.635, allocations: 3.146 MB / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.6373, allocations: 1.079 MB / 1.471 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.6381, allocations: 412.2 kB / 1.471 GB, free: 9.867 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/0.6387, allocations: 120.8 kB / 1.471 GB, free: 9.75 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.6401, allocations: 0.8787 MB / 1.472 GB, free: 8.797 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 3.526e-06/0.6401, allocations: 4 kB / 1.472 GB, free: 8.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.004348/0.6445, allocations: 1.543 MB / 1.474 GB, free: 7.242 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.6446, allocations: 192.9 kB / 1.474 GB, free: 7.012 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.646, allocations: 0.9113 MB / 1.475 GB, free: 6.078 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.6461, allocations: 49.7 kB / 1.475 GB, free: 6.023 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.6467, allocations: 0.5324 MB / 1.475 GB, free: 5.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.647, allocations: 368.8 kB / 1.476 GB, free: 5.121 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.6474, allocations: 194.5 kB / 1.476 GB, free: 4.926 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6475, allocations: 345.9 kB / 1.476 GB, free: 4.582 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.6483, allocations: 361.8 kB / 1.477 GB, free: 4.227 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.6493, allocations: 0.6728 MB / 1.477 GB, free: 3.477 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.651, allocations: 0.8484 MB / 1.478 GB, free: 2.609 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.651, allocations: 0 / 1.478 GB, free: 2.609 MB / 1.17 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002776/0.6538, allocations: 1.118 MB / 1.479 GB, free: 1.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6538, allocations: 9.875 kB / 1.479 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6538, allocations: 0 / 1.479 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/0.6545, allocations: 84.86 kB / 1.479 GB, free: 1.387 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6555, allocations: 223.7 kB / 1.479 GB, free: 1.168 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.6578, allocations: 1.547 MB / 1.481 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.6588, allocations: 127.1 kB / 1.481 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6589, allocations: 43.97 kB / 1.481 GB, free: 15.33 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006574/0.6596, allocations: 321.5 kB / 1.481 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.6598, allocations: 131.3 kB / 1.482 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/0.6631, allocations: 1.506 MB / 1.483 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6631, allocations: 12 kB / 1.483 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6631, allocations: 0 / 1.483 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.6631, allocations: 11.92 kB / 1.483 GB, free: 13.33 MB / 1.186 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 postOpt removeSimpleEquations (simulation): time 0.005039/0.6681, allocations: 2.526 MB / 1.486 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6681, allocations: 0 / 1.486 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009438/0.6691, allocations: 203.7 kB / 1.486 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.6695, allocations: 76.97 kB / 1.486 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.6696, allocations: 35.97 kB / 1.486 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6717, allocations: 1.555 MB / 1.487 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6717, allocations: 3.938 kB / 1.487 GB, free: 8.746 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.6755, allocations: 1.874 MB / 1.489 GB, free: 6.832 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.6761, allocations: 278.8 kB / 1.489 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.6763, allocations: 27.94 kB / 1.49 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/0.6772, allocations: 80.22 kB / 1.49 GB, free: 6.453 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.6775, allocations: 96.75 kB / 1.49 GB, free: 6.359 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6776, allocations: 47.97 kB / 1.49 GB, free: 6.312 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009848/0.6786, allocations: 0.6423 MB / 1.49 GB, free: 5.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6786, allocations: 4 kB / 1.49 GB, free: 5.656 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001328/0.6799, allocations: 470.8 kB / 1.491 GB, free: 5.195 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006326/0.6862, allocations: 3.041 MB / 1.494 GB, free: 2.312 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.6886, allocations: 1.034 MB / 1.495 GB, free: 1.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.6886, allocations: 4.312 kB / 1.495 GB, free: 1.266 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.6898, allocations: 0.625 MB / 1.495 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.6922, allocations: 0.5263 MB / 1.496 GB, free: 128 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.7081, allocations: 8.876 MB / 1.505 GB, free: 7.055 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.7088, allocations: 0.581 MB / 1.505 GB, free: 6.434 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001375/0.7101, allocations: 373.8 kB / 1.506 GB, free: 6.066 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/0.711, allocations: 0.5383 MB / 1.506 GB, free: 5.527 MB / 1.201 GB Notification: Performance of SimCode: time 1.112e-06/0.711, allocations: 0 / 1.506 GB, free: 5.527 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07914/0.7901, allocations: 35.98 MB / 1.541 GB, free: 2.156 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.58, allocations: 10.03 kB / 1.541 GB, free: 2.148 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.808509425027296]