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.001795/0.001795, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001782/0.001781, allocations: 195.6 kB / 16.26 MB, free: 6.152 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.61/1.61, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.714/2.714, allocations: 437 MB / 0.7101 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6314, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008426/0.6399, allocations: 6.24 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1943/0.8342, allocations: 149.3 MB / 1.169 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.8354, allocations: 23.88 kB / 1.169 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.8361, allocations: 174.6 kB / 1.169 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.8384, allocations: 0.6255 MB / 1.17 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.8408, allocations: 0.8895 MB / 1.17 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002638/0.8434, allocations: 2.052 MB / 1.172 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.8447, allocations: 0.8563 MB / 1.173 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.8459, allocations: 0.7397 MB / 1.174 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/0.8469, allocations: 0.8015 MB / 1.175 GB, free: 324 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.8472, allocations: 192 kB / 1.175 GB, free: 132 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.8485, allocations: 0.6518 MB / 1.176 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.849, allocations: 474.6 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008907/0.8499, allocations: 0.8553 MB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.8531, allocations: 2.419 MB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.8531, allocations: 4 kB / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8531, allocations: 4 kB / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.8532, allocations: 0 / 1.179 GB, free: 11.72 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.004019/0.8572, allocations: 1.906 MB / 1.181 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8572, allocations: 12.03 kB / 1.181 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009525/0.8668, allocations: 1.286 MB / 1.182 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.8691, allocations: 1.036 MB / 1.183 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.8692, allocations: 94.67 kB / 1.183 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.8695, allocations: 132 kB / 1.184 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005873/0.8753, allocations: 2.209 MB / 1.186 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.8754, allocations: 0 / 1.186 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.8756, allocations: 63.98 kB / 1.186 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.8756, allocations: 32 kB / 1.186 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008216/0.8838, allocations: 2.968 MB / 1.189 GB, free: 1.809 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.011/0.8949, allocations: 5.388 MB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008518/0.9034, allocations: 2.872 MB / 1.197 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.9069, allocations: 1.137 MB / 1.198 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006778/0.9076, allocations: 0.6066 MB / 1.198 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003973/0.9116, allocations: 1.455 MB / 1.2 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 3.166e-06/0.9116, allocations: 0 / 1.2 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01204/0.9236, allocations: 3.625 MB / 1.203 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.9238, allocations: 197.2 kB / 1.204 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.9251, allocations: 0.8137 MB / 1.204 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.9253, allocations: 57.7 kB / 1.204 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.9259, allocations: 0.5084 MB / 1.205 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/0.9263, allocations: 433.7 kB / 1.205 GB, free: 324 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006127/0.9269, allocations: 274.6 kB / 1.206 GB, free: 40 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.9272, allocations: 353.9 kB / 1.206 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/0.9305, allocations: 1.052 MB / 1.207 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/0.9342, allocations: 1.187 MB / 1.208 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006694/0.9409, allocations: 2.063 MB / 1.21 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.941, allocations: 3.938 kB / 1.21 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008083/0.949, allocations: 2.475 MB / 1.213 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.9491, allocations: 12.05 kB / 1.213 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.9491, allocations: 7.984 kB / 1.213 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.9498, allocations: 80.78 kB / 1.213 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.9524, allocations: 439.2 kB / 1.213 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.9548, allocations: 1.662 MB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.9574, allocations: 286.7 kB / 1.215 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.9576, allocations: 71.92 kB / 1.215 GB, free: 6.176 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.001077/0.9587, allocations: 356.8 kB / 1.215 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/0.9591, allocations: 118.5 kB / 1.216 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009358/0.9685, allocations: 2.883 MB / 1.218 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.9686, allocations: 12 kB / 1.218 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9686, allocations: 0 / 1.218 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.9686, allocations: 7.969 kB / 1.218 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.9715, allocations: 1.823 MB / 1.22 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9715, allocations: 0 / 1.22 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/0.974, allocations: 411.4 kB / 1.221 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005084/0.9745, allocations: 76.73 kB / 1.221 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.9747, allocations: 55.92 kB / 1.221 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.9769, allocations: 1.666 MB / 1.222 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9769, allocations: 4.062 kB / 1.222 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007984/0.9849, allocations: 2.584 MB / 1.225 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/0.9858, allocations: 467 kB / 1.225 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.9861, allocations: 31.98 kB / 1.225 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/0.9883, allocations: 231.6 kB / 1.226 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.9885, allocations: 101.2 kB / 1.226 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.9887, allocations: 67.94 kB / 1.226 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009292/0.9897, allocations: 0.5849 MB / 1.226 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9897, allocations: 0 / 1.226 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001511/0.9912, allocations: 0.5107 MB / 1.227 GB, free: 9.953 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.002194/0.9934, allocations: 0.6401 MB / 1.227 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.003, allocations: 3.117 MB / 1.23 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.004, allocations: 0 / 1.23 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004176/1.008, allocations: 1.396 MB / 1.232 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.01, allocations: 357.1 kB / 1.232 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/1.017, allocations: 3.647 MB / 1.236 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/1.018, allocations: 1.195 MB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002127/1.02, allocations: 477.6 kB / 1.237 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/1.021, allocations: 175.2 kB / 1.237 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.021, allocations: 0 / 1.237 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.5876/1.609, allocations: 24.2 MB / 1.261 GB, free: 229.8 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=400 -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