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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001083/0.001083, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008816/0.008817, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.591/1.591, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 9.312 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3468, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007505/0.3544, allocations: 5.783 MB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.5185, allocations: 147.2 MB / 1.208 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.5216, allocations: 19.88 kB / 1.208 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.5234, allocations: 178.6 kB / 1.208 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.5277, allocations: 0.601 MB / 1.209 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.5309, allocations: 0.876 MB / 1.21 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003092/0.534, allocations: 1.998 MB / 1.212 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.5357, allocations: 0.8072 MB / 1.212 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.537, allocations: 0.5171 MB / 1.213 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.5383, allocations: 0.6025 MB / 1.214 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.5387, allocations: 40 kB / 1.214 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.5404, allocations: 0.4917 MB / 1.214 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.5408, allocations: 298.7 kB / 1.214 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.5416, allocations: 0.6851 MB / 1.215 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.544, allocations: 2.254 MB / 1.217 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.544, allocations: 4 kB / 1.217 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.544, allocations: 0 / 1.217 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.5441, allocations: 0 / 1.217 GB, free: 2.41 MB / 0.9669 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.002993/0.5471, allocations: 1.598 MB / 1.219 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5471, allocations: 12.03 kB / 1.219 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009663/0.5568, allocations: 1.575 MB / 1.22 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.5587, allocations: 1.032 MB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.5588, allocations: 102.7 kB / 1.221 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.559, allocations: 128 kB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005626/0.5647, allocations: 2.33 MB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.5647, allocations: 7.938 kB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.5649, allocations: 52 kB / 1.224 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.5649, allocations: 32 kB / 1.224 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008369/0.5733, allocations: 3.21 MB / 1.227 GB, free: 8.16 MB / 0.9825 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.01001/0.5833, allocations: 5.492 MB / 1.232 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008743/0.5921, allocations: 3.158 MB / 1.236 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/0.5956, allocations: 1.242 MB / 1.237 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.5962, allocations: 0.618 MB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004077/0.6003, allocations: 1.555 MB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.288e-06/0.6003, allocations: 0 / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01257/0.6129, allocations: 3.98 MB / 1.243 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.6131, allocations: 201.2 kB / 1.243 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.6143, allocations: 0.8138 MB / 1.244 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.6145, allocations: 53.7 kB / 1.244 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.6149, allocations: 0.5084 MB / 1.244 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/0.6154, allocations: 429.8 kB / 1.245 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.6156, allocations: 105.7 kB / 1.245 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6157, allocations: 353.9 kB / 1.245 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.6191, allocations: 1.166 MB / 1.246 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/0.6227, allocations: 1.304 MB / 1.248 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/0.6293, allocations: 2.29 MB / 1.25 GB, free: 468 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6293, allocations: 3.938 kB / 1.25 GB, free: 464 kB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.7002/1.33, allocations: 2.706 MB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.33, allocations: 6.672 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.33, allocations: 0.75 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/1.33, allocations: 90.17 kB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/1.333, allocations: 491 kB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/1.335, allocations: 1.548 MB / 1.254 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.337, allocations: 357.5 kB / 1.255 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.337, allocations: 66.27 kB / 1.255 GB, free: 188.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.0007166/1.338, allocations: 357.3 kB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.338, allocations: 120.2 kB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008451/1.347, allocations: 3.105 MB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.347, allocations: 14.47 kB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.347, allocations: 3.172 kB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/1.347, allocations: 6.844 kB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/1.349, allocations: 1.808 MB / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.349, allocations: 0 / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.352, allocations: 470.6 kB / 1.261 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/1.352, allocations: 92.58 kB / 1.261 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/1.352, allocations: 49.55 kB / 1.261 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/1.354, allocations: 1.562 MB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.354, allocations: 8.016 kB / 1.262 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008179/1.362, allocations: 2.801 MB / 1.265 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000983/1.363, allocations: 488 kB / 1.265 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/1.363, allocations: 29.55 kB / 1.266 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.366, allocations: 308.1 kB / 1.266 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/1.366, allocations: 107.4 kB / 1.266 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.366, allocations: 68.48 kB / 1.266 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001038/1.367, allocations: 0.5828 MB / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.367, allocations: 0 / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001639/1.369, allocations: 0.51 MB / 1.267 GB, free: 186.1 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.00157/1.37, allocations: 0.6384 MB / 1.268 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009029/1.38, allocations: 2.757 MB / 1.27 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.38, allocations: 0.625 kB / 1.27 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004537/1.384, allocations: 1.514 MB / 1.272 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.386, allocations: 332.6 kB / 1.272 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/1.394, allocations: 3.778 MB / 1.276 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008844/1.394, allocations: 1.189 MB / 1.277 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002193/1.397, allocations: 483.4 kB / 1.277 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.397, allocations: 167.8 kB / 1.278 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.397, allocations: 0 / 1.278 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04252/1.44, allocations: 23.16 MB / 1.3 GB, free: 170.9 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