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.0008293/0.0008293, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008177/0.0008177, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8451/0.8451, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.569/1.569, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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 1.774e-06/1.774e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.602e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005299/0.005325, allocations: 4.766 MB / 0.9564 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.5684/0.5737, allocations: 132.8 MB / 1.086 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.5743, allocations: 24.62 kB / 1.086 GB, free: 40.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.5747, allocations: 211.9 kB / 1.086 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.5759, allocations: 0.6029 MB / 1.087 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.577, allocations: 0.8971 MB / 1.088 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008335/0.5778, allocations: 1.538 MB / 1.089 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.5783, allocations: 416.9 kB / 1.09 GB, free: 40.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.5788, allocations: 0.7825 MB / 1.09 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.5791, allocations: 432.5 kB / 1.091 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.24e-05/0.5792, allocations: 129.1 kB / 1.091 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.5797, allocations: 0.4984 MB / 1.091 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.5799, allocations: 330.9 kB / 1.092 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.5801, allocations: 416.7 kB / 1.092 GB, free: 39.79 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.5812, allocations: 1.869 MB / 1.094 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5812, allocations: 0 / 1.094 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5812, allocations: 0 / 1.094 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.5812, allocations: 0 / 1.094 GB, free: 39.59 MB / 0.9948 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.001394/0.5826, allocations: 1.49 MB / 1.095 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5827, allocations: 11.91 kB / 1.095 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.5834, allocations: 251.5 kB / 1.096 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.5841, allocations: 0.7305 MB / 1.096 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.5841, allocations: 69.97 kB / 1.096 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.5842, allocations: 97.25 kB / 1.097 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.5851, allocations: 1.227 MB / 1.098 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5851, allocations: 6.906 kB / 1.098 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.5852, allocations: 36.66 kB / 1.098 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.5852, allocations: 21.53 kB / 1.098 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.5867, allocations: 1.097 MB / 1.099 GB, free: 37.22 MB / 0.9948 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.002663/0.5893, allocations: 2.302 MB / 1.101 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.5904, allocations: 0.8484 MB / 1.102 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.5908, allocations: 313.4 kB / 1.102 GB, free: 35.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.588e-05/0.5908, allocations: 26.8 kB / 1.102 GB, free: 35.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/0.5914, allocations: 0.6268 MB / 1.103 GB, free: 35.12 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=93): time 2.074e-06/0.5914, allocations: 0 / 1.103 GB, free: 35.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=93): time 0.001983/0.5934, allocations: 1.216 MB / 1.104 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.5935, allocations: 203.9 kB / 1.104 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.5941, allocations: 0.6301 MB / 1.105 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.5941, allocations: 50.03 kB / 1.105 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5943, allocations: 426.4 kB / 1.105 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.5945, allocations: 321.1 kB / 1.106 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.5946, allocations: 187.6 kB / 1.106 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.5947, allocations: 395.8 kB / 1.106 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.5951, allocations: 301.5 kB / 1.106 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.5956, allocations: 0.5276 MB / 1.107 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.5963, allocations: 0.6715 MB / 1.108 GB, free: 32.37 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5964, allocations: 0 / 1.108 GB, free: 32.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001266/0.5976, allocations: 0.9556 MB / 1.109 GB, free: 31.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5976, allocations: 6.172 kB / 1.109 GB, free: 31.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5976, allocations: 1.312 kB / 1.109 GB, free: 31.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.598, allocations: 85.28 kB / 1.109 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.5984, allocations: 178.6 kB / 1.109 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.5994, allocations: 1.504 MB / 1.11 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.5998, allocations: 98.23 kB / 1.11 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.5999, allocations: 40.58 kB / 1.11 GB, free: 30.52 MB / 0.9948 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.0002631/0.6001, allocations: 273.8 kB / 1.111 GB, free: 30.32 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.6002, allocations: 101.8 kB / 1.111 GB, free: 30.26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.6016, allocations: 1.117 MB / 1.112 GB, free: 29.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6017, allocations: 15.53 kB / 1.112 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6017, allocations: 0 / 1.112 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6017, allocations: 5.625 kB / 1.112 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.6038, allocations: 1.964 MB / 1.114 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6038, allocations: 2.219 kB / 1.114 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.6042, allocations: 163.7 kB / 1.114 GB, free: 28.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.6044, allocations: 73.06 kB / 1.114 GB, free: 28.85 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.6044, allocations: 26.98 kB / 1.114 GB, free: 28.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/0.6053, allocations: 1.523 MB / 1.116 GB, free: 27.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6053, allocations: 0 / 1.116 GB, free: 27.46 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.6069, allocations: 1.49 MB / 1.117 GB, free: 26.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.6072, allocations: 208.6 kB / 1.117 GB, free: 26.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.6072, allocations: 28.39 kB / 1.117 GB, free: 26.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.6076, allocations: 69.23 kB / 1.117 GB, free: 26.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6077, allocations: 75.78 kB / 1.117 GB, free: 26.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.6077, allocations: 38.05 kB / 1.117 GB, free: 26.62 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003801/0.6081, allocations: 457.4 kB / 1.118 GB, free: 26.42 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-08/0.6081, allocations: 0 / 1.118 GB, free: 26.42 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007237/0.6088, allocations: 356 kB / 1.118 GB, free: 26.32 MB / 0.9948 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.0009875/0.6098, allocations: 0.6639 MB / 1.119 GB, free: 26.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.6109, allocations: 0.8678 MB / 1.12 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.611, allocations: 1.188 kB / 1.12 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.6115, allocations: 0.5161 MB / 1.12 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.6122, allocations: 302.1 kB / 1.12 GB, free: 25.38 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.6145, allocations: 1.936 MB / 1.122 GB, free: 24.37 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.6148, allocations: 461.2 kB / 1.123 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.615, allocations: 125 kB / 1.123 GB, free: 24.22 MB / 0.9948 GB Notification: Performance of SimCode: time 7.22e-07/0.615, allocations: 3.938 kB / 1.123 GB, free: 24.22 MB / 0.9948 GB Notification: Performance of Templates: time 0.02082/0.6359, allocations: 20.06 MB / 1.143 GB, free: 21.93 MB / 0.9948 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.169828259386122]