Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.969/1.969, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.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.482/2.482, allocations: 390.9 MB / 0.666 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 16 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7392/0.7395, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005494/0.7451, allocations: 4.399 MB / 0.9587 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.8992, allocations: 137.1 MB / 1.093 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009098/0.9002, allocations: 19.88 kB / 1.093 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.9008, allocations: 142.8 kB / 1.093 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.9025, allocations: 0.4922 MB / 1.093 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.9045, allocations: 0.7473 MB / 1.094 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.9064, allocations: 1.59 MB / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.9074, allocations: 0.5916 MB / 1.096 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.9081, allocations: 466 kB / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.9087, allocations: 0.5444 MB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.9089, allocations: 40 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009401/0.9098, allocations: 471.5 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.9101, allocations: 290.9 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.9104, allocations: 253 kB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.9118, allocations: 1.566 MB / 1.1 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9118, allocations: 0 / 1.1 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.9118, allocations: 0 / 1.1 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.9119, allocations: 0 / 1.1 GB, free: 10.48 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002697/0.9146, allocations: 1.516 MB / 1.101 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9146, allocations: 12.03 kB / 1.101 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008558/0.9232, allocations: 1.567 MB / 1.103 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.9253, allocations: 0.9184 MB / 1.104 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.666e-05/0.9254, allocations: 98.39 kB / 1.104 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.9256, allocations: 112 kB / 1.104 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/0.9306, allocations: 2.155 MB / 1.106 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.9307, allocations: 3.953 kB / 1.106 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.9308, allocations: 52 kB / 1.106 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.9309, allocations: 32 kB / 1.106 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007135/0.938, allocations: 2.991 MB / 1.109 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008849/0.9469, allocations: 4.555 MB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/0.9546, allocations: 3.006 MB / 1.116 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/0.9577, allocations: 1.161 MB / 1.117 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.9584, allocations: 0.6061 MB / 1.118 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003482/0.9619, allocations: 1.476 MB / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=132): time 3.216e-06/0.9619, allocations: 0 / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=132): time 0.0105/0.9724, allocations: 3.703 MB / 1.123 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.9725, allocations: 201.2 kB / 1.123 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.9738, allocations: 0.7628 MB / 1.124 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.9739, allocations: 61.64 kB / 1.124 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.9744, allocations: 484.8 kB / 1.124 GB, free: 500 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.9748, allocations: 421.8 kB / 1.125 GB, free: 72 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.9749, allocations: 28 kB / 1.125 GB, free: 44 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.975, allocations: 357.9 kB / 1.125 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.9779, allocations: 1.076 MB / 1.126 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/0.9809, allocations: 1.203 MB / 1.127 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.9839, allocations: 1.068 MB / 1.128 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9839, allocations: 0 / 1.128 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006953/0.9908, allocations: 2.542 MB / 1.131 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.9909, allocations: 4 kB / 1.131 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.9909, allocations: 0 / 1.131 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.9915, allocations: 88.83 kB / 1.131 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/0.9938, allocations: 495.3 kB / 1.132 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.9957, allocations: 1.536 MB / 1.133 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.9979, allocations: 358.1 kB / 1.133 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.9981, allocations: 63.92 kB / 1.133 GB, free: 7.102 MB / 0.8887 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006909/0.9988, allocations: 336 kB / 1.134 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.999, allocations: 106.7 kB / 1.134 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007905/1.007, allocations: 2.965 MB / 1.137 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.007, allocations: 12 kB / 1.137 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.007, allocations: 4 kB / 1.137 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.007, allocations: 7.969 kB / 1.137 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009801/1.017, allocations: 4.524 MB / 1.141 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.017, allocations: 3.938 kB / 1.141 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.019, allocations: 475.4 kB / 1.142 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/1.02, allocations: 88.77 kB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.02, allocations: 51.94 kB / 1.142 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.022, allocations: 1.563 MB / 1.143 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.022, allocations: 3.953 kB / 1.143 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007136/1.029, allocations: 2.702 MB / 1.146 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008422/1.03, allocations: 439 kB / 1.146 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/1.03, allocations: 31.95 kB / 1.146 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.032, allocations: 307.6 kB / 1.147 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/1.032, allocations: 109.1 kB / 1.147 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.032, allocations: 63.94 kB / 1.147 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000809/1.033, allocations: 0.5381 MB / 1.147 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.033, allocations: 0 / 1.147 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001425/1.034, allocations: 491.1 kB / 1.148 GB, free: 8.062 MB / 0.9044 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/1.036, allocations: 0.6348 MB / 1.148 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007473/1.043, allocations: 2.57 MB / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.044, allocations: 0 / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/1.047, allocations: 1.423 MB / 1.152 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/1.049, allocations: 289.6 kB / 1.153 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/1.057, allocations: 3.588 MB / 1.156 GB, free: 15.69 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/1.057, allocations: 1.167 MB / 1.157 GB, free: 14.49 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002032/1.06, allocations: 477 kB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/1.06, allocations: 171.3 kB / 1.158 GB, free: 13.86 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.06, allocations: 0 / 1.158 GB, free: 13.86 MB / 0.92 GB Notification: Performance of Templates: time 0.0438/1.104, allocations: 20.85 MB / 1.178 GB, free: 9.156 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches