Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_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_9_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.008577/0.008577, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001772/0.001772, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 75.89 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.947/0.9482, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007162/0.9555, allocations: 5.247 MB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1974/1.153, allocations: 151.5 MB / 1.241 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/1.155, allocations: 23 kB / 1.241 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/1.156, allocations: 196 kB / 1.241 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/1.159, allocations: 0.6245 MB / 1.242 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/1.162, allocations: 0.9937 MB / 1.243 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002814/1.165, allocations: 1.895 MB / 1.245 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/1.166, allocations: 0.8992 MB / 1.245 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/1.168, allocations: 0.7203 MB / 1.246 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/1.169, allocations: 0.7742 MB / 1.247 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000383/1.169, allocations: 192 kB / 1.247 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/1.171, allocations: 0.6674 MB / 1.248 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/1.171, allocations: 478.6 kB / 1.248 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007125/1.172, allocations: 0.8241 MB / 1.249 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/1.175, allocations: 2.416 MB / 1.251 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.175, allocations: 0 / 1.251 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/1.175, allocations: 0 / 1.251 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.461e-05/1.175, allocations: 0 / 1.251 GB, free: 6.258 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.003584/1.178, allocations: 1.89 MB / 1.253 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.178, allocations: 8.031 kB / 1.253 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00865/1.187, allocations: 1.282 MB / 1.254 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/1.189, allocations: 1.063 MB / 1.256 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.259e-05/1.189, allocations: 98.67 kB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/1.189, allocations: 132 kB / 1.256 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/1.194, allocations: 2.205 MB / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.194, allocations: 0 / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/1.195, allocations: 59.98 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/1.195, allocations: 36 kB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007842/1.202, allocations: 2.964 MB / 1.261 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009559/1.212, allocations: 5.025 MB / 1.266 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007474/1.219, allocations: 2.876 MB / 1.269 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/1.222, allocations: 1.133 MB / 1.27 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/1.223, allocations: 0.6064 MB / 1.27 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003385/1.226, allocations: 1.45 MB / 1.272 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.246e-06/1.226, allocations: 3.938 kB / 1.272 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.0105/1.237, allocations: 3.617 MB / 1.275 GB, free: 13.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.237, allocations: 197.2 kB / 1.275 GB, free: 13.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.238, allocations: 0.8138 MB / 1.276 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/1.238, allocations: 53.7 kB / 1.276 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/1.239, allocations: 0.5045 MB / 1.277 GB, free: 11.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/1.239, allocations: 445.7 kB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/1.239, allocations: 270.6 kB / 1.277 GB, free: 11.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.24, allocations: 353.9 kB / 1.278 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/1.243, allocations: 1.049 MB / 1.279 GB, free: 9.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/1.246, allocations: 1.183 MB / 1.28 GB, free: 8.426 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005645/1.251, allocations: 2.06 MB / 1.282 GB, free: 6.348 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.251, allocations: 3.938 kB / 1.282 GB, free: 6.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00712/1.258, allocations: 2.475 MB / 1.284 GB, free: 3.855 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.258, allocations: 8 kB / 1.284 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.258, allocations: 0 / 1.284 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/1.259, allocations: 84.78 kB / 1.284 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/1.261, allocations: 435.3 kB / 1.285 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/1.263, allocations: 1.65 MB / 1.287 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.266, allocations: 290.7 kB / 1.287 GB, free: 1.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.266, allocations: 59.94 kB / 1.287 GB, free: 1.199 MB / 1.014 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.0007114/1.267, allocations: 355.8 kB / 1.287 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/1.267, allocations: 126.5 kB / 1.287 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007735/1.275, allocations: 2.868 MB / 1.29 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.275, allocations: 16 kB / 1.29 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.275, allocations: 0 / 1.29 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.275, allocations: 7.969 kB / 1.29 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/1.277, allocations: 1.808 MB / 1.292 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.277, allocations: 3.938 kB / 1.292 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.279, allocations: 415.4 kB / 1.292 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/1.28, allocations: 76.72 kB / 1.292 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/1.28, allocations: 51.94 kB / 1.292 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/1.282, allocations: 1.678 MB / 1.294 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.282, allocations: 3.984 kB / 1.294 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007022/1.289, allocations: 2.576 MB / 1.297 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/1.289, allocations: 467.1 kB / 1.297 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.29, allocations: 35.88 kB / 1.297 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.292, allocations: 230.2 kB / 1.297 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.292, allocations: 109.1 kB / 1.297 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.292, allocations: 59.94 kB / 1.297 GB, free: 6.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007752/1.293, allocations: 0.5888 MB / 1.298 GB, free: 5.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.293, allocations: 0 / 1.298 GB, free: 5.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001331/1.294, allocations: 494.9 kB / 1.298 GB, free: 5.012 MB / 1.029 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.00154/1.296, allocations: 0.6413 MB / 1.299 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007253/1.303, allocations: 2.527 MB / 1.302 GB, free: 2.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.303, allocations: 0 / 1.302 GB, free: 2.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/1.306, allocations: 1.403 MB / 1.303 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.308, allocations: 343.1 kB / 1.303 GB, free: 276 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006975/1.315, allocations: 3.101 MB / 1.306 GB, free: 13.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.316, allocations: 1.203 MB / 1.307 GB, free: 11.91 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001602/1.317, allocations: 485.4 kB / 1.308 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/1.318, allocations: 171.2 kB / 1.308 GB, free: 11.26 MB / 1.045 GB Notification: Performance of SimCode: time 1.222e-06/1.318, allocations: 0 / 1.308 GB, free: 11.26 MB / 1.045 GB Notification: Performance of Templates: time 0.03814/1.356, allocations: 23.91 MB / 1.331 GB, free: 3.512 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches