Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008639/0.0008639, allocations: 76.55 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.0009568/0.0009568, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8675/0.8675, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.673/1.673, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.901e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00492/0.004949, allocations: 4.774 MB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.6082/0.6132, allocations: 132.8 MB / 1.117 GB, free: 20.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.6139, allocations: 28.88 kB / 1.117 GB, free: 20.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.6144, allocations: 209.6 kB / 1.117 GB, free: 20.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.6159, allocations: 0.6035 MB / 1.117 GB, free: 19.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.6174, allocations: 0.8817 MB / 1.118 GB, free: 19.28 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.6189, allocations: 1.544 MB / 1.12 GB, free: 18.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.6195, allocations: 420.2 kB / 1.12 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.6204, allocations: 0.7822 MB / 1.121 GB, free: 17.86 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.621, allocations: 434.6 kB / 1.121 GB, free: 17.69 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.6211, allocations: 127.7 kB / 1.121 GB, free: 17.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.6221, allocations: 0.4976 MB / 1.122 GB, free: 17.58 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.6223, allocations: 324.3 kB / 1.122 GB, free: 17.37 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.6227, allocations: 419.8 kB / 1.123 GB, free: 17.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.625, allocations: 1.865 MB / 1.124 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.625, allocations: 0.7812 kB / 1.124 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.625, allocations: 0 / 1.124 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.625, allocations: 0.9375 kB / 1.124 GB, free: 16.39 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.002312/0.6273, allocations: 1.496 MB / 1.126 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6274, allocations: 10.3 kB / 1.126 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.6283, allocations: 244.9 kB / 1.126 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6293, allocations: 0.7426 MB / 1.127 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.6293, allocations: 69.23 kB / 1.127 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.6294, allocations: 94.5 kB / 1.127 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.6307, allocations: 1.23 MB / 1.128 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.6307, allocations: 1.312 kB / 1.128 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.6307, allocations: 38.27 kB / 1.128 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6308, allocations: 25.69 kB / 1.128 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6321, allocations: 1.099 MB / 1.129 GB, free: 13.75 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.003211/0.6353, allocations: 2.299 MB / 1.132 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.6365, allocations: 0.8441 MB / 1.132 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.6369, allocations: 314 kB / 1.133 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.995e-05/0.637, allocations: 26.41 kB / 1.133 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006806/0.6376, allocations: 0.6321 MB / 1.133 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=93): time 3.025e-06/0.6376, allocations: 0 / 1.133 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=93): time 0.002186/0.6398, allocations: 1.212 MB / 1.135 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.6399, allocations: 196.6 kB / 1.135 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/0.6406, allocations: 0.63 MB / 1.135 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/0.6407, allocations: 50.08 kB / 1.135 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.6409, allocations: 430.6 kB / 1.136 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.6411, allocations: 310 kB / 1.136 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.6413, allocations: 192 kB / 1.136 GB, free: 9.961 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.6413, allocations: 391.6 kB / 1.137 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.6417, allocations: 312.8 kB / 1.137 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.6422, allocations: 0.524 MB / 1.137 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.6431, allocations: 0.6676 MB / 1.138 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6431, allocations: 0.9062 kB / 1.138 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001418/0.6445, allocations: 0.9541 MB / 1.139 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.6445, allocations: 11.53 kB / 1.139 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6445, allocations: 0 / 1.139 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.6448, allocations: 80.33 kB / 1.139 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.6453, allocations: 184.1 kB / 1.139 GB, free: 8.438 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.6465, allocations: 1.502 MB / 1.141 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.6471, allocations: 97.45 kB / 1.141 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.6471, allocations: 41.8 kB / 1.141 GB, free: 7.012 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.0004597/0.6476, allocations: 277.4 kB / 1.141 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6477, allocations: 97.64 kB / 1.141 GB, free: 6.754 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.6493, allocations: 1.119 MB / 1.142 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.6493, allocations: 10.09 kB / 1.142 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6493, allocations: 4.547 kB / 1.142 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.6493, allocations: 6.609 kB / 1.142 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.6518, allocations: 1.958 MB / 1.144 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6518, allocations: 0 / 1.144 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.6522, allocations: 168.4 kB / 1.144 GB, free: 5.348 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.6524, allocations: 73.27 kB / 1.145 GB, free: 5.328 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.6525, allocations: 25.58 kB / 1.145 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009338/0.6534, allocations: 1.522 MB / 1.146 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6534, allocations: 1.25 kB / 1.146 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.6553, allocations: 1.488 MB / 1.148 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.6557, allocations: 217.8 kB / 1.148 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.582e-05/0.6558, allocations: 27.69 kB / 1.148 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.6561, allocations: 65.28 kB / 1.148 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6563, allocations: 85.62 kB / 1.148 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.6563, allocations: 36.88 kB / 1.148 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004991/0.6568, allocations: 453.3 kB / 1.148 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6568, allocations: 0 / 1.148 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00102/0.6578, allocations: 356.2 kB / 1.149 GB, free: 2.801 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.001179/0.659, allocations: 0.6576 MB / 1.149 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.6604, allocations: 0.8732 MB / 1.15 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6604, allocations: 3.938 kB / 1.15 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.661, allocations: 0.5082 MB / 1.151 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/0.662, allocations: 305.3 kB / 1.151 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.6647, allocations: 1.934 MB / 1.153 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.6652, allocations: 464.2 kB / 1.153 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.6655, allocations: 129.3 kB / 1.153 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of SimCode: time 1.433e-06/0.6655, allocations: 0 / 1.153 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of Templates: time 0.03074/0.6963, allocations: 20.05 MB / 1.173 GB, free: 11.77 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.219553708098829]