Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00141/0.00141, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.883/2.883, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",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.001994/0.001994, allocations: 67.25 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1967/0.4917, allocations: 155.8 MB / 1.477 GB, free: 5.941 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.508, allocations: 10.31 MB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.5091, allocations: 43.62 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.5104, allocations: 428.7 kB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.5146, allocations: 1.123 MB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.5197, allocations: 1.75 MB / 1.491 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.5235, allocations: 2.392 MB / 1.493 GB, free: 5.871 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.526, allocations: 1.12 MB / 1.494 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.5304, allocations: 1.465 MB / 1.495 GB, free: 3.254 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.5318, allocations: 0.7582 MB / 1.496 GB, free: 2.492 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.5323, allocations: 156 kB / 1.496 GB, free: 2.34 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.5352, allocations: 1.271 MB / 1.498 GB, free: 1.066 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/0.5358, allocations: 462.5 kB / 1.498 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.537, allocations: 0.6455 MB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005038/0.542, allocations: 2.619 MB / 1.501 GB, free: 13.34 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.542, allocations: 0 / 1.501 GB, free: 13.34 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/0.542, allocations: 0 / 1.501 GB, free: 13.34 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.257e-05/0.5421, allocations: 4 kB / 1.501 GB, free: 13.33 MB / 1.201 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.004735/0.5468, allocations: 1.895 MB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5469, allocations: 8.031 kB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003707/0.5473, allocations: 177.4 kB / 1.503 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.5502, allocations: 406.6 kB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.5522, allocations: 0.9278 MB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.506e-05/0.5523, allocations: 90.33 kB / 1.505 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.5525, allocations: 116 kB / 1.505 GB, free: 9.637 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.5553, allocations: 1.671 MB / 1.506 GB, free: 7.809 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.5553, allocations: 0 / 1.506 GB, free: 7.809 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.5554, allocations: 52 kB / 1.506 GB, free: 7.758 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.5554, allocations: 28 kB / 1.506 GB, free: 7.73 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.558, allocations: 1.414 MB / 1.508 GB, free: 6.309 MB / 1.201 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.006338/0.5644, allocations: 3.142 MB / 1.511 GB, free: 3.094 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.5666, allocations: 1.084 MB / 1.512 GB, free: 1.996 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008054/0.5674, allocations: 423.1 kB / 1.512 GB, free: 1.586 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.568, allocations: 113.1 kB / 1.512 GB, free: 1.477 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.5693, allocations: 0.8826 MB / 1.513 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 3.105e-06/0.5693, allocations: 0 / 1.513 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of matching and sorting (n=106): time 0.00423/0.5736, allocations: 1.539 MB / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.5737, allocations: 192.9 kB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.575, allocations: 0.9151 MB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.5751, allocations: 49.7 kB / 1.516 GB, free: 13.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/0.5756, allocations: 0.5285 MB / 1.516 GB, free: 13.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.576, allocations: 372.8 kB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.5763, allocations: 198.5 kB / 1.517 GB, free: 12.64 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5764, allocations: 345.9 kB / 1.517 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.5772, allocations: 357.8 kB / 1.518 GB, free: 11.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5782, allocations: 0.6805 MB / 1.518 GB, free: 11.19 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.5799, allocations: 0.8446 MB / 1.519 GB, free: 10.33 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5799, allocations: 0 / 1.519 GB, free: 10.33 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002619/0.5825, allocations: 1.126 MB / 1.52 GB, free: 9.191 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.5825, allocations: 7.938 kB / 1.52 GB, free: 9.184 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5825, allocations: 4 kB / 1.52 GB, free: 9.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.5832, allocations: 88.84 kB / 1.52 GB, free: 9.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009501/0.5841, allocations: 223.7 kB / 1.521 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.5863, allocations: 1.532 MB / 1.522 GB, free: 7.227 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/0.5872, allocations: 123.3 kB / 1.522 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.5873, allocations: 43.97 kB / 1.522 GB, free: 7.062 MB / 1.217 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.0006526/0.5879, allocations: 333.6 kB / 1.523 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.5882, allocations: 123.2 kB / 1.523 GB, free: 6.605 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.5914, allocations: 1.505 MB / 1.524 GB, free: 5.078 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.5914, allocations: 16 kB / 1.524 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5914, allocations: 4 kB / 1.524 GB, free: 5.059 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5915, allocations: 7.922 kB / 1.524 GB, free: 5.051 MB / 1.217 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.005282/0.5967, allocations: 2.514 MB / 1.527 GB, free: 2.469 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5968, allocations: 0 / 1.527 GB, free: 2.469 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/0.5977, allocations: 203.9 kB / 1.527 GB, free: 2.27 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.5981, allocations: 76.78 kB / 1.527 GB, free: 2.191 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.5982, allocations: 27.97 kB / 1.527 GB, free: 2.164 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.6002, allocations: 1.57 MB / 1.528 GB, free: 488 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6002, allocations: 4.062 kB / 1.528 GB, free: 484 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.604, allocations: 1.878 MB / 1.53 GB, free: 14.55 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.6047, allocations: 278.7 kB / 1.531 GB, free: 14.28 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.6049, allocations: 24 kB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.6058, allocations: 75.92 kB / 1.531 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.606, allocations: 100.7 kB / 1.531 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6061, allocations: 47.97 kB / 1.531 GB, free: 14.04 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009644/0.607, allocations: 0.6423 MB / 1.531 GB, free: 13.39 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.607, allocations: 0 / 1.531 GB, free: 13.39 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001163/0.6082, allocations: 462.9 kB / 1.532 GB, free: 12.93 MB / 1.232 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.00615/0.6143, allocations: 3.047 MB / 1.535 GB, free: 10.05 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.6166, allocations: 1.027 MB / 1.536 GB, free: 9.008 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6166, allocations: 4 kB / 1.536 GB, free: 9.004 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6178, allocations: 0.6294 MB / 1.536 GB, free: 8.363 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.62, allocations: 0.5213 MB / 1.537 GB, free: 7.859 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.6351, allocations: 8.901 MB / 1.546 GB, free: 14.77 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.6358, allocations: 0.5771 MB / 1.546 GB, free: 14.15 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001248/0.6371, allocations: 369.8 kB / 1.547 GB, free: 13.79 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.6379, allocations: 0.5421 MB / 1.547 GB, free: 13.25 MB / 1.248 GB Notification: Performance of SimCode: time 7.41e-07/0.6379, allocations: 0 / 1.547 GB, free: 13.25 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08247/0.7204, allocations: 36.21 MB / 1.582 GB, free: 9.543 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.9, allocations: 6.125 kB / 1.582 GB, free: 9.539 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.620568504091352]