Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001311/0.001311, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001544/0.001544, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.852/2.852, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002956/0.002956, allocations: 61.75 kB / 1.118 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3257, allocations: 169.9 MB / 1.284 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00784/0.3336, allocations: 4.671 MB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.4936, allocations: 132.6 MB / 1.418 GB, free: 9.559 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007745/0.4944, allocations: 23.81 kB / 1.418 GB, free: 9.535 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.4951, allocations: 210.1 kB / 1.418 GB, free: 9.328 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.4971, allocations: 0.5778 MB / 1.419 GB, free: 8.75 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.4992, allocations: 0.8649 MB / 1.42 GB, free: 7.891 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.5011, allocations: 1.451 MB / 1.421 GB, free: 6.434 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.5019, allocations: 422.2 kB / 1.422 GB, free: 5.996 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.5028, allocations: 0.5217 MB / 1.422 GB, free: 5.473 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007508/0.5035, allocations: 0.5212 MB / 1.423 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.5037, allocations: 120 kB / 1.423 GB, free: 4.832 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000953/0.5047, allocations: 0.5034 MB / 1.423 GB, free: 4.328 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.505, allocations: 315 kB / 1.424 GB, free: 4.02 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.5055, allocations: 481.7 kB / 1.424 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.5075, allocations: 1.724 MB / 1.426 GB, free: 1.816 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5075, allocations: 0 / 1.426 GB, free: 1.816 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5075, allocations: 0 / 1.426 GB, free: 1.816 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.5075, allocations: 0 / 1.426 GB, free: 1.816 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00263/0.5102, allocations: 1.455 MB / 1.427 GB, free: 336 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5102, allocations: 12.03 kB / 1.427 GB, free: 324 kB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.1e-05/0.5102, allocations: 22.19 kB / 1.427 GB, free: 300 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.5104, allocations: 147.5 kB / 1.427 GB, free: 144 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.5119, allocations: 239.9 kB / 1.427 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5132, allocations: 0.7217 MB / 1.428 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/0.5133, allocations: 69.98 kB / 1.428 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.5134, allocations: 84 kB / 1.428 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.5152, allocations: 1.189 MB / 1.429 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.5153, allocations: 0 / 1.429 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.5154, allocations: 36 kB / 1.43 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.5154, allocations: 23.98 kB / 1.43 GB, free: 13.66 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.5173, allocations: 1.124 MB / 1.431 GB, free: 12.53 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.004216/0.5215, allocations: 2.259 MB / 1.433 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.523, allocations: 0.7627 MB / 1.434 GB, free: 9.438 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.5236, allocations: 280.7 kB / 1.434 GB, free: 9.156 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.5236, allocations: 28.62 kB / 1.434 GB, free: 9.129 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/0.5246, allocations: 0.5897 MB / 1.434 GB, free: 8.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/0.5246, allocations: 3.938 kB / 1.434 GB, free: 8.496 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003387/0.528, allocations: 1.142 MB / 1.436 GB, free: 7.344 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.5281, allocations: 192.6 kB / 1.436 GB, free: 7.113 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5291, allocations: 0.6646 MB / 1.436 GB, free: 6.445 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/0.5292, allocations: 41.7 kB / 1.436 GB, free: 6.398 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.5296, allocations: 429 kB / 1.437 GB, free: 5.973 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.5299, allocations: 281.6 kB / 1.437 GB, free: 5.695 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.5301, allocations: 146.6 kB / 1.437 GB, free: 5.543 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5303, allocations: 386.7 kB / 1.438 GB, free: 5.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.5309, allocations: 253.8 kB / 1.438 GB, free: 4.91 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.5316, allocations: 491.1 kB / 1.438 GB, free: 4.375 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5326, allocations: 0.5994 MB / 1.439 GB, free: 3.762 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5326, allocations: 0 / 1.439 GB, free: 3.762 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002036/0.5347, allocations: 0.8218 MB / 1.44 GB, free: 2.93 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5347, allocations: 10.19 kB / 1.44 GB, free: 2.922 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5347, allocations: 3.938 kB / 1.44 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006867/0.5354, allocations: 84.86 kB / 1.44 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.5361, allocations: 151.8 kB / 1.44 GB, free: 2.684 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.5382, allocations: 1.512 MB / 1.441 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.5391, allocations: 101.6 kB / 1.442 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.5391, allocations: 35.97 kB / 1.442 GB, free: 0.918 MB / 1.139 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 (89): * Single equations (assignments): 88 * 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.0004925/0.5396, allocations: 261.6 kB / 1.442 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.5398, allocations: 95.42 kB / 1.442 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.5424, allocations: 1.07 MB / 1.443 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5424, allocations: 8 kB / 1.443 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5424, allocations: 3.938 kB / 1.443 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5424, allocations: 7.984 kB / 1.443 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.5435, allocations: 0.7624 MB / 1.444 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.5435, allocations: 8 kB / 1.444 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.5442, allocations: 155.7 kB / 1.444 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.5447, allocations: 64.8 kB / 1.444 GB, free: 14.42 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.5447, allocations: 27.97 kB / 1.444 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.5468, allocations: 1.555 MB / 1.446 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5468, allocations: 0 / 1.446 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.5496, allocations: 1.344 MB / 1.447 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.5501, allocations: 203.1 kB / 1.447 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.5503, allocations: 23.88 kB / 1.447 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.551, allocations: 63.92 kB / 1.447 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.5512, allocations: 72.86 kB / 1.447 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.5513, allocations: 31.98 kB / 1.447 GB, free: 10.96 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000707/0.552, allocations: 491.1 kB / 1.448 GB, free: 10.49 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.552, allocations: 0 / 1.448 GB, free: 10.49 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009404/0.5529, allocations: 335.2 kB / 1.448 GB, free: 10.16 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.00515/0.5581, allocations: 2.427 MB / 1.45 GB, free: 7.918 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.5598, allocations: 0.7845 MB / 1.451 GB, free: 7.117 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5598, allocations: 0 / 1.451 GB, free: 7.117 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.5608, allocations: 0.4884 MB / 1.452 GB, free: 6.617 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.5621, allocations: 312.7 kB / 1.452 GB, free: 6.336 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.5737, allocations: 6.453 MB / 1.458 GB, free: 15.73 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.5743, allocations: 452.8 kB / 1.459 GB, free: 15.26 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009173/0.5752, allocations: 274.8 kB / 1.459 GB, free: 14.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.5759, allocations: 411.3 kB / 1.459 GB, free: 14.58 MB / 1.17 GB Notification: Performance of SimCode: time 9.31e-07/0.5759, allocations: 3.938 kB / 1.459 GB, free: 14.58 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/0.6353, allocations: 23.67 MB / 1.482 GB, free: 7.289 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.66, allocations: 4.062 kB / 1.482 GB, free: 7.285 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 22.33042163401842]