Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001684/0.001684, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001851/0.001851, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.678/2.678, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.951 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.09e-05, allocations: 2.281 kB / 0.951 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007132/0.007162, allocations: 4.758 MB / 0.9556 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1723/0.1795, allocations: 132.8 MB / 1.085 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009609/0.1804, allocations: 23.81 kB / 1.085 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.1811, allocations: 210 kB / 1.086 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.1832, allocations: 0.6087 MB / 1.086 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1855, allocations: 0.8807 MB / 1.087 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.1875, allocations: 1.548 MB / 1.088 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008037/0.1883, allocations: 410.8 kB / 1.089 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1895, allocations: 0.7796 MB / 1.09 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.1902, allocations: 430.8 kB / 1.09 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.1904, allocations: 128 kB / 1.09 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1915, allocations: 0.4954 MB / 1.091 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.1919, allocations: 330.9 kB / 1.091 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.1924, allocations: 418.9 kB / 1.091 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.1953, allocations: 1.873 MB / 1.093 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1953, allocations: 0 / 1.093 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1953, allocations: 0 / 1.093 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.1954, allocations: 0 / 1.093 GB, free: 9.402 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003185/0.1985, allocations: 1.498 MB / 1.095 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1986, allocations: 8.031 kB / 1.095 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.2002, allocations: 243.9 kB / 1.095 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.2016, allocations: 0.7375 MB / 1.096 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.2017, allocations: 74.11 kB / 1.096 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2019, allocations: 99.98 kB / 1.096 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.2038, allocations: 1.22 MB / 1.097 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.2038, allocations: 7.953 kB / 1.097 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.2039, allocations: 43.98 kB / 1.097 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.2039, allocations: 20 kB / 1.097 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.2059, allocations: 1.093 MB / 1.098 GB, free: 4.199 MB / 0.9981 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.004746/0.2107, allocations: 2.295 MB / 1.1 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.2124, allocations: 0.8586 MB / 1.101 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.213, allocations: 319.7 kB / 1.101 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.2131, allocations: 24.92 kB / 1.102 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5593/0.7725, allocations: 0.6282 MB / 1.102 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=93): time 5.43e-06/0.7725, allocations: 0.875 kB / 1.102 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93): time 0.003881/0.7763, allocations: 1.208 MB / 1.103 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.7764, allocations: 201.8 kB / 1.104 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.7773, allocations: 0.6254 MB / 1.104 GB, free: 161 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.7774, allocations: 50.16 kB / 1.104 GB, free: 161 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.7778, allocations: 434.3 kB / 1.105 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.7779, allocations: 313.2 kB / 1.105 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.7782, allocations: 184 kB / 1.105 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7783, allocations: 397.1 kB / 1.105 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.779, allocations: 300.8 kB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.7797, allocations: 0.5246 MB / 1.106 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.781, allocations: 0.6691 MB / 1.107 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.781, allocations: 0.875 kB / 1.107 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00236/0.7834, allocations: 0.9604 MB / 1.108 GB, free: 159 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7834, allocations: 5.75 kB / 1.108 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7834, allocations: 1.234 kB / 1.108 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.7841, allocations: 86.56 kB / 1.108 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.7849, allocations: 183.6 kB / 1.108 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.7868, allocations: 1.495 MB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/0.7876, allocations: 102.4 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.7876, allocations: 41.42 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (113): * Single equations (assignments): 112 * 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.0004631/0.7881, allocations: 280.7 kB / 1.11 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.7883, allocations: 94.41 kB / 1.11 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.7909, allocations: 1.127 MB / 1.111 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.7909, allocations: 10.78 kB / 1.111 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7909, allocations: 1.125 kB / 1.111 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.7909, allocations: 5.297 kB / 1.111 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.7949, allocations: 1.952 MB / 1.113 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.7949, allocations: 0.9062 kB / 1.113 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.7956, allocations: 167.2 kB / 1.113 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.796, allocations: 74.22 kB / 1.113 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.7961, allocations: 26.45 kB / 1.113 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.7977, allocations: 1.518 MB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7977, allocations: 5.75 kB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.8008, allocations: 1.487 MB / 1.116 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.8013, allocations: 211.9 kB / 1.116 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.8015, allocations: 23.97 kB / 1.116 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.8023, allocations: 70.05 kB / 1.117 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.8025, allocations: 77.41 kB / 1.117 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.092e-05/0.8026, allocations: 41.27 kB / 1.117 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006448/0.8033, allocations: 453 kB / 1.117 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8033, allocations: 0 / 1.117 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00111/0.8044, allocations: 356.9 kB / 1.117 GB, free: 153.5 MB / 0.9981 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002116/0.8065, allocations: 0.6713 MB / 1.118 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.8085, allocations: 0.8654 MB / 1.119 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8085, allocations: 0 / 1.119 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.8095, allocations: 0.5186 MB / 1.119 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.8109, allocations: 302.2 kB / 1.12 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.8144, allocations: 1.905 MB / 1.122 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.815, allocations: 465.1 kB / 1.122 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001053/0.816, allocations: 266.3 kB / 1.122 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.8164, allocations: 110.7 kB / 1.122 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.8164, allocations: 1.125 kB / 1.122 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03315/0.8496, allocations: 16.01 MB / 1.138 GB, free: 147.8 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: 9.417043600231409]