Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001589/0.001589, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002339/0.002338, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.7 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 66 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3648, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009124/0.3739, allocations: 6.225 MB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.5296, allocations: 149.2 MB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.5309, allocations: 15.94 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.532, allocations: 182.6 kB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.5348, allocations: 0.5978 MB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.5374, allocations: 0.8761 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.5401, allocations: 1.99 MB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.5415, allocations: 0.8344 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.5428, allocations: 0.6265 MB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.544, allocations: 0.7446 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.5444, allocations: 92 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.5459, allocations: 0.5386 MB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000644/0.5465, allocations: 390.5 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.5482, allocations: 0.7499 MB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.5515, allocations: 2.341 MB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5515, allocations: 0 / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.252e-06/0.5515, allocations: 0 / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.216e-05/0.5516, allocations: 3.938 kB / 1.229 GB, free: 4.789 MB / 0.9825 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.005279/0.5569, allocations: 1.91 MB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5569, allocations: 11.97 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009841/0.5668, allocations: 1.286 MB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.5689, allocations: 1.032 MB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.5691, allocations: 98.67 kB / 1.233 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005753/0.5697, allocations: 132 kB / 1.233 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007574/0.5773, allocations: 2.209 MB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.5773, allocations: 0 / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.5777, allocations: 56 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.5777, allocations: 32 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007957/0.5857, allocations: 2.968 MB / 1.239 GB, free: 10.88 MB / 0.9981 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.01023/0.5959, allocations: 5.4 MB / 1.244 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008055/0.604, allocations: 2.88 MB / 1.247 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/0.6071, allocations: 1.133 MB / 1.248 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.6076, allocations: 0.6026 MB / 1.248 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6579/1.266, allocations: 1.442 MB / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.048e-06/1.266, allocations: 0 / 1.25 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01252/1.278, allocations: 3.631 MB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/1.278, allocations: 199 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/1.28, allocations: 0.8222 MB / 1.254 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/1.28, allocations: 52.11 kB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/1.28, allocations: 0.5079 MB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/1.281, allocations: 433 kB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005695/1.281, allocations: 268.5 kB / 1.256 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.282, allocations: 351.6 kB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/1.285, allocations: 1.056 MB / 1.257 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/1.288, allocations: 1.186 MB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/1.294, allocations: 2.066 MB / 1.26 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.294, allocations: 0 / 1.26 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007734/1.302, allocations: 2.478 MB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/1.302, allocations: 7.906 kB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.302, allocations: 4.125 kB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/1.302, allocations: 87.02 kB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.305, allocations: 439.2 kB / 1.263 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/1.307, allocations: 1.545 MB / 1.265 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.309, allocations: 288.9 kB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.31, allocations: 68.81 kB / 1.265 GB, free: 178.5 MB / 0.9981 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.000869/1.311, allocations: 356.3 kB / 1.265 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/1.311, allocations: 117.2 kB / 1.265 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009369/1.32, allocations: 2.888 MB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/1.32, allocations: 14.91 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.32, allocations: 1.203 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/1.32, allocations: 10.31 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/1.324, allocations: 1.81 MB / 1.27 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.324, allocations: 0 / 1.27 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.327, allocations: 411.3 kB / 1.27 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006622/1.328, allocations: 88.77 kB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.328, allocations: 50.75 kB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.33, allocations: 1.561 MB / 1.272 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.33, allocations: 8.234 kB / 1.272 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008109/1.338, allocations: 2.572 MB / 1.275 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.339, allocations: 473.3 kB / 1.275 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/1.339, allocations: 27.73 kB / 1.275 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.341, allocations: 238.8 kB / 1.275 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.342, allocations: 100.3 kB / 1.275 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.342, allocations: 65.67 kB / 1.275 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000906/1.343, allocations: 0.5852 MB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.343, allocations: 4 kB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001744/1.345, allocations: 0.5048 MB / 1.276 GB, free: 173.4 MB / 0.9981 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.00166/1.346, allocations: 0.6352 MB / 1.277 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008293/1.355, allocations: 2.524 MB / 1.28 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.355, allocations: 1.531 kB / 1.28 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004156/1.359, allocations: 1.394 MB / 1.281 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.361, allocations: 327.4 kB / 1.281 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/1.368, allocations: 3.644 MB / 1.285 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/1.369, allocations: 1.191 MB / 1.286 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002274/1.371, allocations: 491.1 kB / 1.286 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007201/1.372, allocations: 177.6 kB / 1.287 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.372, allocations: 2.516 kB / 1.287 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04306/1.415, allocations: 23.33 MB / 1.309 GB, free: 152.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches