Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.243/3.243, allocations: 497.2 MB / 0.7812 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 66.05 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 173.9 MB / 1.304 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2044/0.5245, allocations: 166.6 MB / 1.467 GB, free: 10.23 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.5388, allocations: 7.835 MB / 1.474 GB, free: 2.371 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.5403, allocations: 39.81 kB / 1.474 GB, free: 2.332 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5417, allocations: 409 kB / 1.475 GB, free: 1.93 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.5459, allocations: 1.352 MB / 1.476 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.5493, allocations: 1.179 MB / 1.477 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004016/0.5533, allocations: 2.348 MB / 1.48 GB, free: 13.05 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.5551, allocations: 0.9882 MB / 1.481 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.557, allocations: 0.8642 MB / 1.481 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.5589, allocations: 0.8025 MB / 1.482 GB, free: 10.37 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.5594, allocations: 152 kB / 1.482 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.5622, allocations: 1.166 MB / 1.483 GB, free: 9.051 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007426/0.563, allocations: 438.6 kB / 1.484 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.5643, allocations: 0.7852 MB / 1.485 GB, free: 7.832 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.5691, allocations: 2.425 MB / 1.487 GB, free: 5.398 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.5691, allocations: 4 kB / 1.487 GB, free: 5.395 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5691, allocations: 0 / 1.487 GB, free: 5.395 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.571e-05/0.5692, allocations: 0 / 1.487 GB, free: 5.395 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004427/0.5736, allocations: 1.92 MB / 1.489 GB, free: 3.414 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5736, allocations: 8.625 kB / 1.489 GB, free: 3.406 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002524/0.5739, allocations: 176.9 kB / 1.489 GB, free: 3.223 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.5759, allocations: 338.6 kB / 1.489 GB, free: 2.891 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.578, allocations: 1.027 MB / 1.49 GB, free: 1.816 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/0.5781, allocations: 82.2 kB / 1.49 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.5783, allocations: 108 kB / 1.491 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.5807, allocations: 1.172 MB / 1.492 GB, free: 396 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.5808, allocations: 4 kB / 1.492 GB, free: 392 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5809, allocations: 44 kB / 1.492 GB, free: 348 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/0.581, allocations: 50.05 kB / 1.492 GB, free: 296 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.5836, allocations: 1.308 MB / 1.493 GB, free: 14.97 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.006907/0.5905, allocations: 3.903 MB / 1.497 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.5925, allocations: 0.9381 MB / 1.498 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007095/0.5932, allocations: 363.2 kB / 1.498 GB, free: 9.547 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.13e-05/0.5933, allocations: 41.02 kB / 1.498 GB, free: 9.508 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.5944, allocations: 0.5873 MB / 1.499 GB, free: 8.902 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 2.705e-06/0.5944, allocations: 0 / 1.499 GB, free: 8.902 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003944/0.5984, allocations: 1.446 MB / 1.5 GB, free: 7.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.5985, allocations: 188.9 kB / 1.5 GB, free: 7.203 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5998, allocations: 0.8457 MB / 1.501 GB, free: 6.332 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.6, allocations: 49.7 kB / 1.501 GB, free: 6.277 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.6005, allocations: 0.5362 MB / 1.502 GB, free: 5.734 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.6009, allocations: 357 kB / 1.502 GB, free: 5.383 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.6012, allocations: 178.6 kB / 1.502 GB, free: 5.199 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6014, allocations: 341.9 kB / 1.503 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.6021, allocations: 313.8 kB / 1.503 GB, free: 4.555 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/0.6029, allocations: 471.7 kB / 1.503 GB, free: 4.051 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.6044, allocations: 0.7776 MB / 1.504 GB, free: 3.242 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.6044, allocations: 0 / 1.504 GB, free: 3.242 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002573/0.607, allocations: 1.04 MB / 1.505 GB, free: 2.191 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.607, allocations: 8 kB / 1.505 GB, free: 2.184 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.607, allocations: 0 / 1.505 GB, free: 2.184 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.6076, allocations: 85 kB / 1.505 GB, free: 2.098 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.6085, allocations: 211.8 kB / 1.505 GB, free: 1.891 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.611, allocations: 1.639 MB / 1.507 GB, free: 108 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.6122, allocations: 113.5 kB / 1.507 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.6123, allocations: 31.94 kB / 1.507 GB, free: 15.96 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006589/0.613, allocations: 317.6 kB / 1.507 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.6133, allocations: 127.2 kB / 1.508 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.6162, allocations: 1.232 MB / 1.509 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6162, allocations: 12 kB / 1.509 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6162, allocations: 0 / 1.509 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.6162, allocations: 11.97 kB / 1.509 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.6182, allocations: 1.169 MB / 1.51 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6182, allocations: 48 / 1.51 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/0.6191, allocations: 211.8 kB / 1.51 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.6196, allocations: 76.72 kB / 1.51 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.6197, allocations: 31.98 kB / 1.51 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.6219, allocations: 1.666 MB / 1.512 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6219, allocations: 0 / 1.512 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.6254, allocations: 1.582 MB / 1.513 GB, free: 9.297 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.6262, allocations: 324 kB / 1.514 GB, free: 8.961 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.6264, allocations: 31.98 kB / 1.514 GB, free: 8.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.6272, allocations: 66.47 kB / 1.514 GB, free: 8.867 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.6274, allocations: 84.88 kB / 1.514 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.774e-05/0.6275, allocations: 43.97 kB / 1.514 GB, free: 8.742 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009041/0.6284, allocations: 0.5821 MB / 1.514 GB, free: 8.148 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6284, allocations: 0 / 1.514 GB, free: 8.148 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001316/0.6297, allocations: 423 kB / 1.515 GB, free: 7.734 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005661/0.6354, allocations: 2.666 MB / 1.518 GB, free: 5.234 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00228/0.6377, allocations: 0.9288 MB / 1.518 GB, free: 4.289 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6377, allocations: 0 / 1.518 GB, free: 4.289 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.6389, allocations: 0.571 MB / 1.519 GB, free: 3.707 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.6412, allocations: 488.5 kB / 1.519 GB, free: 3.246 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.6561, allocations: 8.241 MB / 1.527 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009083/0.6571, allocations: 1.158 MB / 1.529 GB, free: 9.629 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00115/0.6582, allocations: 317.2 kB / 1.529 GB, free: 9.316 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/0.659, allocations: 0.511 MB / 1.529 GB, free: 8.809 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/0.659, allocations: 0 / 1.529 GB, free: 8.809 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07803/0.737, allocations: 29.77 MB / 1.558 GB, free: 11.37 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/16.92, allocations: 10.8 kB / 1.558 GB, free: 11.36 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.766863035969436]