Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_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_10_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.001192/0.001192, allocations: 91.84 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.01154/0.01154, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.367 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.568/2.568, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.000392, allocations: 12 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6588, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00629/0.6652, allocations: 5.395 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.8149, allocations: 147 MB / 1.172 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007543/0.8157, allocations: 19.88 kB / 1.172 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.8162, allocations: 174.7 kB / 1.172 GB, free: 6.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.8179, allocations: 0.5709 MB / 1.173 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.8198, allocations: 0.8457 MB / 1.173 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.8218, allocations: 1.874 MB / 1.175 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.8228, allocations: 0.7356 MB / 1.176 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007936/0.8236, allocations: 0.49 MB / 1.176 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.8244, allocations: 0.5753 MB / 1.177 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.8245, allocations: 44 kB / 1.177 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.8255, allocations: 0.4956 MB / 1.178 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.8258, allocations: 290.8 kB / 1.178 GB, free: 0.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.8263, allocations: 0.6385 MB / 1.178 GB, free: 60 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.8282, allocations: 2.032 MB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8283, allocations: 4 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8283, allocations: 0 / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.16e-05/0.8283, allocations: 0 / 1.18 GB, free: 14.02 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002929/0.8312, allocations: 1.519 MB / 1.182 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8313, allocations: 16.03 kB / 1.182 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009668/0.841, allocations: 1.56 MB / 1.183 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.8427, allocations: 0.9613 MB / 1.184 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.8428, allocations: 86.45 kB / 1.184 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.8431, allocations: 120 kB / 1.185 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.8483, allocations: 2.159 MB / 1.187 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.8484, allocations: 7.938 kB / 1.187 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.8486, allocations: 48 kB / 1.187 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.8486, allocations: 31.98 kB / 1.187 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008082/0.8567, allocations: 3.01 MB / 1.19 GB, free: 4.32 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.008925/0.8656, allocations: 4.822 MB / 1.194 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008687/0.8743, allocations: 3.012 MB / 1.197 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.8777, allocations: 1.157 MB / 1.199 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005194/0.8782, allocations: 0.6102 MB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003735/0.882, allocations: 1.484 MB / 1.201 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 2.935e-06/0.882, allocations: 0 / 1.201 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01171/0.8937, allocations: 3.719 MB / 1.204 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.8939, allocations: 201.2 kB / 1.204 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.895, allocations: 0.7705 MB / 1.205 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.8952, allocations: 61.64 kB / 1.205 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.8955, allocations: 484.8 kB / 1.206 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.8959, allocations: 425.8 kB / 1.206 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.8961, allocations: 97.67 kB / 1.206 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8963, allocations: 353.9 kB / 1.206 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/0.8996, allocations: 1.08 MB / 1.208 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/0.903, allocations: 1.214 MB / 1.209 GB, free: 424 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006561/0.9096, allocations: 2.149 MB / 1.211 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9096, allocations: 0 / 1.211 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008015/0.9176, allocations: 2.561 MB / 1.213 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.9177, allocations: 4 kB / 1.213 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9177, allocations: 3.938 kB / 1.213 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.9183, allocations: 84.84 kB / 1.213 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.9209, allocations: 491.3 kB / 1.214 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.923, allocations: 1.55 MB / 1.215 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.9255, allocations: 350.7 kB / 1.216 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.9257, allocations: 63.94 kB / 1.216 GB, free: 9.012 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,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.0006786/0.9264, allocations: 340.5 kB / 1.216 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.9266, allocations: 110.7 kB / 1.216 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008837/0.9354, allocations: 2.953 MB / 1.219 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.9355, allocations: 19.92 kB / 1.219 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9355, allocations: 0 / 1.219 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.9355, allocations: 3.984 kB / 1.219 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.9461, allocations: 4.548 MB / 1.224 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9461, allocations: 0 / 1.224 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/0.9486, allocations: 467.3 kB / 1.224 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.9492, allocations: 88.77 kB / 1.224 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.9494, allocations: 51.94 kB / 1.224 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.9512, allocations: 1.559 MB / 1.226 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9513, allocations: 7.969 kB / 1.226 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008032/0.9593, allocations: 2.718 MB / 1.228 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007799/0.9601, allocations: 443 kB / 1.229 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.9603, allocations: 28 kB / 1.229 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/0.9626, allocations: 311.6 kB / 1.229 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.9628, allocations: 101.2 kB / 1.229 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.963, allocations: 63.94 kB / 1.229 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007311/0.9637, allocations: 0.5537 MB / 1.23 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9637, allocations: 4 kB / 1.23 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001322/0.965, allocations: 495.1 kB / 1.23 GB, free: 9.926 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,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.001594/0.9666, allocations: 0.6479 MB / 1.231 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007928/0.9746, allocations: 2.582 MB / 1.233 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.9746, allocations: 0 / 1.233 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004025/0.9787, allocations: 1.427 MB / 1.235 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.9806, allocations: 308.8 kB / 1.235 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.9876, allocations: 3.523 MB / 1.239 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.9883, allocations: 1.159 MB / 1.24 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001876/0.9902, allocations: 485.1 kB / 1.24 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006273/0.9909, allocations: 171.3 kB / 1.24 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of SimCode: time 2.595e-06/0.9909, allocations: 0 / 1.24 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.5825/1.573, allocations: 21.97 MB / 1.262 GB, free: 226 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches