Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001804/0.001804, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001955/0.001955, allocations: 192.4 kB / 16.14 MB, free: 6.691 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6414, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007687/0.6491, allocations: 6.247 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1587/0.8078, allocations: 149.2 MB / 1.168 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.8098, allocations: 15.94 kB / 1.168 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009284/0.8108, allocations: 178.6 kB / 1.169 GB, free: 6.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.8133, allocations: 0.5997 MB / 1.169 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.816, allocations: 0.8712 MB / 1.17 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.8187, allocations: 1.99 MB / 1.172 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.8201, allocations: 0.8344 MB / 1.173 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.8216, allocations: 0.6304 MB / 1.173 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.8234, allocations: 0.739 MB / 1.174 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.8237, allocations: 92 kB / 1.174 GB, free: 0.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.8254, allocations: 0.5464 MB / 1.175 GB, free: 164 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.8258, allocations: 386.6 kB / 1.175 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009117/0.8267, allocations: 0.7499 MB / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.8295, allocations: 2.341 MB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.8295, allocations: 0 / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8296, allocations: 7.938 kB / 1.178 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.416e-05/0.8296, allocations: 0 / 1.178 GB, free: 12.67 MB / 0.9356 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.005417/0.835, allocations: 1.91 MB / 1.18 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 8.512e-05/0.8351, allocations: 8.031 kB / 1.18 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009711/0.8449, allocations: 1.29 MB / 1.181 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.848, allocations: 1.032 MB / 1.182 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.8481, allocations: 98.67 kB / 1.182 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.8484, allocations: 135.9 kB / 1.183 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005647/0.854, allocations: 2.205 MB / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.8541, allocations: 0 / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.8543, allocations: 63.97 kB / 1.185 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.8543, allocations: 32 kB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007687/0.862, allocations: 2.96 MB / 1.188 GB, free: 2.766 MB / 0.9356 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.009901/0.8719, allocations: 5.393 MB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007749/0.8797, allocations: 2.888 MB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.8827, allocations: 1.137 MB / 1.197 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.8834, allocations: 0.6066 MB / 1.197 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00363/0.887, allocations: 1.446 MB / 1.199 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 3.627e-06/0.887, allocations: 0 / 1.199 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01095/0.898, allocations: 3.629 MB / 1.202 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.8981, allocations: 201.2 kB / 1.203 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.8993, allocations: 0.8099 MB / 1.203 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.8995, allocations: 49.7 kB / 1.203 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.9, allocations: 0.5123 MB / 1.204 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/0.9004, allocations: 437.7 kB / 1.204 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005447/0.901, allocations: 274.6 kB / 1.205 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9012, allocations: 353.9 kB / 1.205 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.9042, allocations: 1.052 MB / 1.206 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.9074, allocations: 1.183 MB / 1.207 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/0.9132, allocations: 2.067 MB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.9132, allocations: 3.938 kB / 1.209 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007369/0.9206, allocations: 2.479 MB / 1.212 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.9207, allocations: 4 kB / 1.212 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.9207, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.9213, allocations: 88.83 kB / 1.212 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.9237, allocations: 435.3 kB / 1.212 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.9259, allocations: 1.548 MB / 1.214 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.9283, allocations: 296.2 kB / 1.214 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.9285, allocations: 71.86 kB / 1.214 GB, free: 7.227 MB / 0.9669 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.0009325/0.9295, allocations: 347.8 kB / 1.214 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.9299, allocations: 118.6 kB / 1.214 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/0.9384, allocations: 2.88 MB / 1.217 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.9385, allocations: 16 kB / 1.217 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.9385, allocations: 3.984 kB / 1.217 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.9385, allocations: 3.984 kB / 1.217 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.9411, allocations: 1.823 MB / 1.219 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.9411, allocations: 0 / 1.219 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/0.9434, allocations: 411.3 kB / 1.219 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.944, allocations: 92.7 kB / 1.219 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.9442, allocations: 47.94 kB / 1.22 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.9461, allocations: 1.559 MB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9461, allocations: 4.031 kB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007521/0.9537, allocations: 2.584 MB / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/0.9545, allocations: 467 kB / 1.224 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/0.9549, allocations: 31.94 kB / 1.224 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/0.957, allocations: 235.6 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.9573, allocations: 105.2 kB / 1.224 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.9575, allocations: 63.94 kB / 1.224 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000912/0.9584, allocations: 0.5849 MB / 1.225 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9584, allocations: 0 / 1.225 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001594/0.96, allocations: 0.5068 MB / 1.226 GB, free: 11.12 MB / 0.9825 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.001722/0.9617, allocations: 0.6502 MB / 1.226 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007449/0.9692, allocations: 2.524 MB / 1.229 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9692, allocations: 0 / 1.229 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.973, allocations: 1.396 MB / 1.23 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.9749, allocations: 315.3 kB / 1.23 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008345/0.9832, allocations: 3.648 MB / 1.234 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.9846, allocations: 1.191 MB / 1.235 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002211/0.9869, allocations: 485.5 kB / 1.235 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007584/0.9876, allocations: 171.3 kB / 1.236 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/0.9877, allocations: 0 / 1.236 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of Templates: time 0.613/1.601, allocations: 23.32 MB / 1.258 GB, free: 228.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches