Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 100.2 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 193.3 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.84 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3001, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007841/0.308, allocations: 5.271 MB / 0.9563 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.742/1.05, allocations: 151.4 MB / 1.104 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/1.051, allocations: 20.34 kB / 1.104 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/1.052, allocations: 198.3 kB / 1.104 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/1.054, allocations: 0.6111 MB / 1.105 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/1.056, allocations: 0.9865 MB / 1.106 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002492/1.059, allocations: 1.887 MB / 1.108 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/1.06, allocations: 0.9035 MB / 1.109 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/1.061, allocations: 0.7086 MB / 1.109 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/1.062, allocations: 0.7684 MB / 1.11 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003345/1.063, allocations: 191.8 kB / 1.11 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/1.064, allocations: 0.666 MB / 1.111 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00046/1.065, allocations: 484.1 kB / 1.111 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008708/1.066, allocations: 0.8256 MB / 1.112 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003366/1.069, allocations: 2.414 MB / 1.115 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.069, allocations: 0 / 1.115 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/1.069, allocations: 0 / 1.115 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.556e-05/1.069, allocations: 0 / 1.115 GB, free: 3.383 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004379/1.074, allocations: 1.88 MB / 1.116 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.074, allocations: 14.34 kB / 1.116 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009503/1.083, allocations: 1.29 MB / 1.118 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/1.086, allocations: 1.053 MB / 1.119 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/1.086, allocations: 106.7 kB / 1.119 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006369/1.087, allocations: 128.2 kB / 1.119 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00691/1.094, allocations: 2.215 MB / 1.121 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/1.094, allocations: 1.156 kB / 1.121 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/1.094, allocations: 57.53 kB / 1.121 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.094, allocations: 32.78 kB / 1.121 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008444/1.103, allocations: 2.968 MB / 1.124 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/1.115, allocations: 5.02 MB / 1.129 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008233/1.123, allocations: 2.882 MB / 1.132 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/1.126, allocations: 1.124 MB / 1.133 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/1.127, allocations: 0.6142 MB / 1.133 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003908/1.131, allocations: 1.447 MB / 1.135 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 5.361e-06/1.131, allocations: 0 / 1.135 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.0112/1.142, allocations: 3.62 MB / 1.138 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.142, allocations: 201.4 kB / 1.139 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.144, allocations: 0.8154 MB / 1.139 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/1.144, allocations: 52.23 kB / 1.139 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/1.144, allocations: 0.5162 MB / 1.14 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.145, allocations: 437.1 kB / 1.14 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006048/1.146, allocations: 266.1 kB / 1.141 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.146, allocations: 353.6 kB / 1.141 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/1.149, allocations: 1.049 MB / 1.142 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/1.152, allocations: 1.187 MB / 1.143 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006008/1.158, allocations: 2.062 MB / 1.145 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.158, allocations: 0 / 1.145 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007711/1.166, allocations: 2.477 MB / 1.148 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.166, allocations: 5.312 kB / 1.148 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.166, allocations: 5.562 kB / 1.148 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/1.166, allocations: 83.2 kB / 1.148 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.169, allocations: 434.9 kB / 1.148 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.171, allocations: 1.649 MB / 1.15 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.174, allocations: 279.3 kB / 1.15 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/1.174, allocations: 63.56 kB / 1.15 GB, free: 8.328 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * 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.001138/1.175, allocations: 363.2 kB / 1.15 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/1.176, allocations: 119.4 kB / 1.15 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00869/1.184, allocations: 2.873 MB / 1.153 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.184, allocations: 15.75 kB / 1.153 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.185, allocations: 3.984 kB / 1.153 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.185, allocations: 3.984 kB / 1.153 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/1.187, allocations: 1.818 MB / 1.155 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.187, allocations: 0 / 1.155 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/1.19, allocations: 420 kB / 1.155 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/1.19, allocations: 71.62 kB / 1.156 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/1.19, allocations: 51.94 kB / 1.156 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.192, allocations: 1.669 MB / 1.157 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.192, allocations: 2.422 kB / 1.157 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007705/1.2, allocations: 2.578 MB / 1.16 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.201, allocations: 465.5 kB / 1.16 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/1.202, allocations: 34.03 kB / 1.16 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/1.204, allocations: 230.3 kB / 1.16 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.204, allocations: 104.6 kB / 1.161 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.204, allocations: 61.81 kB / 1.161 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009732/1.205, allocations: 0.585 MB / 1.161 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.205, allocations: 0 / 1.161 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001706/1.207, allocations: 0.4948 MB / 1.162 GB, free: 0.8281 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001705/1.209, allocations: 0.6449 MB / 1.162 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006912/1.216, allocations: 2.522 MB / 1.165 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.216, allocations: 2.094 kB / 1.165 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.219, allocations: 1.398 MB / 1.166 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/1.221, allocations: 348.6 kB / 1.166 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/1.229, allocations: 3.108 MB / 1.169 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009097/1.229, allocations: 1.195 MB / 1.171 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00199/1.231, allocations: 486.6 kB / 1.171 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/1.232, allocations: 164.8 kB / 1.171 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of SimCode: time 2.104e-06/1.232, allocations: 0 / 1.171 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of Templates: time 0.04055/1.273, allocations: 23.66 MB / 1.194 GB, free: 12.11 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches