Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001535/0.001535, allocations: 114.8 kB / 17.08 MB, free: 5.969 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.001612/0.001612, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.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 2.946/2.946, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 1.103 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9427/0.9447, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006777/0.9515, allocations: 4.933 MB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1823/1.134, allocations: 150.6 MB / 1.414 GB, free: 4.805 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/1.135, allocations: 16.19 kB / 1.414 GB, free: 4.801 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000862/1.136, allocations: 194.2 kB / 1.415 GB, free: 4.629 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/1.138, allocations: 0.5406 MB / 1.415 GB, free: 4.227 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.141, allocations: 0.8313 MB / 1.416 GB, free: 3.598 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00221/1.143, allocations: 1.383 MB / 1.417 GB, free: 2.734 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/1.144, allocations: 0.5721 MB / 1.418 GB, free: 2.379 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000943/1.145, allocations: 481.6 kB / 1.418 GB, free: 2.094 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009118/1.146, allocations: 0.5007 MB / 1.419 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/1.146, allocations: 114.5 kB / 1.419 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/1.148, allocations: 477.9 kB / 1.419 GB, free: 1.559 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/1.148, allocations: 293 kB / 1.42 GB, free: 1.328 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008632/1.149, allocations: 0.5513 MB / 1.42 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/1.152, allocations: 1.622 MB / 1.422 GB, free: 15.76 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.152, allocations: 4 kB / 1.422 GB, free: 15.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.593e-06/1.152, allocations: 0 / 1.422 GB, free: 15.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.554e-05/1.152, allocations: 1.125 kB / 1.422 GB, free: 15.75 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00321/1.155, allocations: 1.465 MB / 1.423 GB, free: 14.59 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.155, allocations: 8.812 kB / 1.423 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.156, allocations: 196.2 kB / 1.423 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/1.157, allocations: 0.7561 MB / 1.424 GB, free: 13.87 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/1.158, allocations: 67.86 kB / 1.424 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.158, allocations: 76.97 kB / 1.424 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.159, allocations: 0.9089 MB / 1.425 GB, free: 13.22 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.159, allocations: 4 kB / 1.425 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/1.159, allocations: 40.41 kB / 1.425 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/1.159, allocations: 21.22 kB / 1.425 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.161, allocations: 1.097 MB / 1.426 GB, free: 12.66 MB / 1.123 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.004416/1.166, allocations: 2.829 MB / 1.429 GB, free: 10.33 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.167, allocations: 0.7811 MB / 1.43 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/1.168, allocations: 292.3 kB / 1.43 GB, free: 9.793 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-05/1.168, allocations: 34.88 kB / 1.43 GB, free: 9.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000872/1.169, allocations: 484.7 kB / 1.431 GB, free: 9.465 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 4.869e-06/1.169, allocations: 3.938 kB / 1.431 GB, free: 9.461 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003359/1.172, allocations: 1.183 MB / 1.432 GB, free: 8.816 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.172, allocations: 188.2 kB / 1.432 GB, free: 8.598 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.173, allocations: 0.6312 MB / 1.433 GB, free: 8.23 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/1.173, allocations: 43.2 kB / 1.433 GB, free: 8.188 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/1.174, allocations: 405.1 kB / 1.433 GB, free: 7.832 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.174, allocations: 269.4 kB / 1.433 GB, free: 7.598 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.174, allocations: 166.6 kB / 1.433 GB, free: 7.496 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.175, allocations: 392.4 kB / 1.434 GB, free: 7.121 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/1.175, allocations: 266.1 kB / 1.434 GB, free: 6.992 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/1.176, allocations: 361.5 kB / 1.434 GB, free: 6.777 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.177, allocations: 0.6043 MB / 1.435 GB, free: 6.445 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.177, allocations: 0 / 1.435 GB, free: 6.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002186/1.179, allocations: 0.8457 MB / 1.436 GB, free: 6.012 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.179, allocations: 4.969 kB / 1.436 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.179, allocations: 5.344 kB / 1.436 GB, free: 6.008 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/1.18, allocations: 80.89 kB / 1.436 GB, free: 5.969 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/1.181, allocations: 165.4 kB / 1.436 GB, free: 5.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.183, allocations: 1.631 MB / 1.438 GB, free: 4.234 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/1.184, allocations: 95.56 kB / 1.438 GB, free: 4.141 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/1.184, allocations: 35.97 kB / 1.438 GB, free: 4.105 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0005463/1.184, allocations: 265.8 kB / 1.438 GB, free: 3.836 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/1.185, allocations: 87.48 kB / 1.438 GB, free: 3.75 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/1.187, allocations: 1.05 MB / 1.439 GB, free: 2.676 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.187, allocations: 12 kB / 1.439 GB, free: 2.664 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.187, allocations: 3.938 kB / 1.439 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.187, allocations: 3.984 kB / 1.439 GB, free: 2.656 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.189, allocations: 0.884 MB / 1.44 GB, free: 1.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.189, allocations: 3.984 kB / 1.44 GB, free: 1.719 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/1.189, allocations: 139.8 kB / 1.44 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/1.19, allocations: 76.72 kB / 1.44 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/1.19, allocations: 31.97 kB / 1.44 GB, free: 1.473 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/1.192, allocations: 1.654 MB / 1.442 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.192, allocations: 0 / 1.442 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.194, allocations: 0.9206 MB / 1.443 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/1.195, allocations: 272.2 kB / 1.443 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.195, allocations: 27.94 kB / 1.443 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/1.196, allocations: 59.94 kB / 1.443 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.196, allocations: 68.91 kB / 1.443 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/1.196, allocations: 39.91 kB / 1.443 GB, free: 14.26 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006825/1.196, allocations: 463 kB / 1.444 GB, free: 13.81 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/1.196, allocations: 0 / 1.444 GB, free: 13.81 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009828/1.197, allocations: 319.2 kB / 1.444 GB, free: 13.5 MB / 1.139 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.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 (89): * Single equations (assignments): 83 * 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.001993/1.199, allocations: 0.6025 MB / 1.445 GB, free: 13.08 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.201, allocations: 0.8117 MB / 1.445 GB, free: 12.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.201, allocations: 8.25 kB / 1.445 GB, free: 12.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009845/1.202, allocations: 0.5041 MB / 1.446 GB, free: 11.73 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.204, allocations: 292.3 kB / 1.446 GB, free: 11.46 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/1.207, allocations: 1.733 MB / 1.448 GB, free: 9.691 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/1.208, allocations: 1.018 MB / 1.449 GB, free: 8.652 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.208, allocations: 119.4 kB / 1.449 GB, free: 8.535 MB / 1.139 GB Notification: Performance of SimCode: time 7.22e-07/1.208, allocations: 0 / 1.449 GB, free: 8.535 MB / 1.139 GB Notification: Performance of Templates: time 0.02764/1.236, allocations: 18.44 MB / 1.467 GB, free: 6.141 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 14.264292082982138]