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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001564/0.001564, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001813/0.001813, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6409, allocations: 140.4 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007044/0.648, allocations: 5.096 MB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.8234, allocations: 149 MB / 1.1 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.8246, allocations: 23.94 kB / 1.1 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.8256, allocations: 154.8 kB / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.828, allocations: 0.5284 MB / 1.1 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.8307, allocations: 0.8679 MB / 1.101 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.8332, allocations: 1.773 MB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.8347, allocations: 0.8062 MB / 1.104 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.8358, allocations: 0.6579 MB / 1.104 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.8369, allocations: 0.7353 MB / 1.105 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.8373, allocations: 164 kB / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.8387, allocations: 0.6128 MB / 1.106 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.8393, allocations: 446.7 kB / 1.106 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.8403, allocations: 0.7462 MB / 1.107 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.843, allocations: 2.123 MB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.843, allocations: 0 / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.843, allocations: 0 / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.843, allocations: 0 / 1.109 GB, free: 13.7 MB / 0.8731 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.003316/0.8463, allocations: 1.799 MB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.8464, allocations: 12.03 kB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009199/0.8556, allocations: 1.275 MB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.8577, allocations: 0.9419 MB / 1.113 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.453e-05/0.8578, allocations: 94.45 kB / 1.113 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.8581, allocations: 120 kB / 1.113 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005408/0.8635, allocations: 2.038 MB / 1.115 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.8636, allocations: 3.938 kB / 1.115 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.8637, allocations: 48 kB / 1.115 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.8638, allocations: 31.94 kB / 1.115 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007418/0.8712, allocations: 2.76 MB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009077/0.8803, allocations: 4.489 MB / 1.122 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007921/0.8882, allocations: 2.735 MB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/0.8913, allocations: 1.048 MB / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.8919, allocations: 0.6062 MB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003719/0.8956, allocations: 1.356 MB / 1.128 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 6.963e-06/0.8956, allocations: 0 / 1.128 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01098/0.9066, allocations: 3.383 MB / 1.131 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.9068, allocations: 193.2 kB / 1.131 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.9079, allocations: 0.7744 MB / 1.132 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.908, allocations: 53.7 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.9084, allocations: 480.8 kB / 1.133 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.9089, allocations: 425.9 kB / 1.133 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005046/0.9094, allocations: 270.6 kB / 1.133 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9095, allocations: 357.9 kB / 1.134 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.9125, allocations: 0.9626 MB / 1.135 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.9155, allocations: 1.101 MB / 1.136 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005769/0.9213, allocations: 1.919 MB / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.9213, allocations: 0 / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007103/0.9284, allocations: 2.331 MB / 1.14 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.9285, allocations: 4 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9285, allocations: 4 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.9291, allocations: 84.83 kB / 1.14 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.9315, allocations: 435.3 kB / 1.14 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.9337, allocations: 1.638 MB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.9361, allocations: 288.5 kB / 1.142 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.9362, allocations: 63.94 kB / 1.142 GB, free: 10.88 MB / 0.9044 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,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (150): * Single equations (assignments): 149 * 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.00076/0.937, allocations: 332.3 kB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.9373, allocations: 114.7 kB / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/0.9452, allocations: 2.731 MB / 1.145 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.9452, allocations: 19.98 kB / 1.145 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9452, allocations: 3.938 kB / 1.145 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.9452, allocations: 3.984 kB / 1.145 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.955, allocations: 4.29 MB / 1.15 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.9551, allocations: 0 / 1.15 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/0.9573, allocations: 411.4 kB / 1.15 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.9578, allocations: 80.72 kB / 1.15 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.9579, allocations: 43.94 kB / 1.15 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.9599, allocations: 1.678 MB / 1.152 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9599, allocations: 3.938 kB / 1.152 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007088/0.967, allocations: 2.487 MB / 1.154 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/0.9679, allocations: 427.2 kB / 1.155 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.9681, allocations: 31.98 kB / 1.155 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/0.9701, allocations: 227.7 kB / 1.155 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.9703, allocations: 105.2 kB / 1.155 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.9704, allocations: 63.88 kB / 1.155 GB, free: 13.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007926/0.9712, allocations: 0.5537 MB / 1.155 GB, free: 13.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9713, allocations: 0 / 1.155 GB, free: 13.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001511/0.9728, allocations: 483.1 kB / 1.156 GB, free: 12.57 MB / 0.92 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 (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.001663/0.9744, allocations: 0.6505 MB / 1.157 GB, free: 12.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008654/0.9831, allocations: 2.922 MB / 1.159 GB, free: 9.156 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.9832, allocations: 0 / 1.159 GB, free: 9.156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003551/0.9867, allocations: 1.321 MB / 1.161 GB, free: 7.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.9884, allocations: 320.9 kB / 1.161 GB, free: 7.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007195/0.9956, allocations: 3.501 MB / 1.164 GB, free: 4.004 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.9963, allocations: 1.159 MB / 1.166 GB, free: 2.809 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001842/0.9982, allocations: 485 kB / 1.166 GB, free: 2.332 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/0.9988, allocations: 163.3 kB / 1.166 GB, free: 2.172 MB / 0.92 GB Notification: Performance of SimCode: time 6.81e-07/0.9988, allocations: 0 / 1.166 GB, free: 2.172 MB / 0.92 GB Notification: Performance of Templates: time 0.03735/1.036, allocations: 22.46 MB / 1.188 GB, free: 11.87 MB / 0.9512 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