Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 390.3 MB / 402.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 168.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009953/0.0009955, allocations: 95.55 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.302e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3039, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.519, allocations: 1.737 GB / 2.955 GB, free: 77.44 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/5.519, allocations: 95.41 kB / 2.955 GB, free: 77.35 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.042/6.561, allocations: 78.62 MB / 3.032 GB, free: 398.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.816e-06/6.561, allocations: 1.781 kB / 3.032 GB, free: 398.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001075/6.561, allocations: 29.98 kB / 3.032 GB, free: 398 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.002943/6.564, allocations: 1.323 MB / 3.033 GB, free: 397.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/6.564, allocations: 9.438 kB / 3.033 GB, free: 397.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008843/6.573, allocations: 1.341 MB / 3.035 GB, free: 397.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/6.576, allocations: 0.8176 MB / 3.036 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/6.576, allocations: 88.03 kB / 3.036 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/6.576, allocations: 111.8 kB / 3.036 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/6.58, allocations: 1.572 MB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/6.58, allocations: 0 / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/6.58, allocations: 50.64 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/6.58, allocations: 32.8 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/6.584, allocations: 1.967 MB / 3.039 GB, free: 396.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/6.596, allocations: 4.369 MB / 3.044 GB, free: 396 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/6.599, allocations: 1.873 MB / 3.045 GB, free: 395.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/6.6, allocations: 0.7026 MB / 3.046 GB, free: 395.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/6.601, allocations: 0.6026 MB / 3.047 GB, free: 395.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/6.603, allocations: 0.9486 MB / 3.048 GB, free: 395.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=120): time 3.877e-06/6.603, allocations: 0 / 3.048 GB, free: 395.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=120): time 0.003895/6.607, allocations: 1.521 MB / 3.049 GB, free: 395 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/6.607, allocations: 245.4 kB / 3.049 GB, free: 394.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/6.608, allocations: 0.6934 MB / 3.05 GB, free: 394.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/6.608, allocations: 49.64 kB / 3.05 GB, free: 394.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/6.609, allocations: 448.7 kB / 3.05 GB, free: 394.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/6.609, allocations: 398.7 kB / 3.051 GB, free: 394.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/6.609, allocations: 23.19 kB / 3.051 GB, free: 394.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001024/6.609, allocations: 346.5 kB / 3.051 GB, free: 393.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/6.611, allocations: 0.5922 MB / 3.052 GB, free: 393.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/6.612, allocations: 0.7366 MB / 3.052 GB, free: 393.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/6.613, allocations: 0.5912 MB / 3.053 GB, free: 393.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/6.613, allocations: 0.6562 kB / 3.053 GB, free: 393.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003833/6.617, allocations: 1.542 MB / 3.055 GB, free: 393.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/6.617, allocations: 8.984 kB / 3.055 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/6.617, allocations: 2.531 kB / 3.055 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/6.618, allocations: 87.75 kB / 3.055 GB, free: 393.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/6.62, allocations: 456.2 kB / 3.055 GB, free: 393.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/6.622, allocations: 1.529 MB / 3.057 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/6.625, allocations: 322.3 kB / 3.057 GB, free: 392.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/6.625, allocations: 56.81 kB / 3.057 GB, free: 392.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/6.625, allocations: 165.8 kB / 3.057 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/6.626, allocations: 108.5 kB / 3.057 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/6.632, allocations: 1.979 MB / 3.059 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/6.632, allocations: 14.84 kB / 3.059 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/6.632, allocations: 3.391 kB / 3.059 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/6.632, allocations: 6.281 kB / 3.059 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008739/6.64, allocations: 3.576 MB / 3.063 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/6.64, allocations: 1.094 kB / 3.063 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/6.643, allocations: 466.8 kB / 3.063 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005614/6.643, allocations: 86.42 kB / 3.063 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/6.644, allocations: 48.98 kB / 3.063 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/6.646, allocations: 1.555 MB / 3.065 GB, free: 389.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/6.646, allocations: 3.031 kB / 3.065 GB, free: 389.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/6.651, allocations: 1.739 MB / 3.066 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/6.652, allocations: 427.7 kB / 3.067 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/6.652, allocations: 27.22 kB / 3.067 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/6.655, allocations: 283.9 kB / 3.067 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/6.655, allocations: 87.5 kB / 3.067 GB, free: 388.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/6.655, allocations: 55.34 kB / 3.067 GB, free: 388.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001244/6.656, allocations: 0.5609 MB / 3.068 GB, free: 388.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.392e-06/6.656, allocations: 2.281 kB / 3.068 GB, free: 388.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00257/6.659, allocations: 0.5124 MB / 3.068 GB, free: 388.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0034/6.662, allocations: 1.072 MB / 3.069 GB, free: 387.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004845/6.667, allocations: 1.588 MB / 3.071 GB, free: 387.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/6.667, allocations: 5.5 kB / 3.071 GB, free: 387.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/6.67, allocations: 0.9359 MB / 3.072 GB, free: 387 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/6.672, allocations: 263.5 kB / 3.072 GB, free: 386.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/6.679, allocations: 2.053 MB / 3.074 GB, free: 386.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/6.68, allocations: 1.152 MB / 3.075 GB, free: 385.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002935/6.683, allocations: 464.9 kB / 3.076 GB, free: 385.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009578/6.684, allocations: 153.1 kB / 3.076 GB, free: 385.3 MB / 1.167 GB Notification: Performance of SimCode: time 3.136e-06/6.684, allocations: 3.938 kB / 3.076 GB, free: 385.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04984/6.734, allocations: 28.7 MB / 3.104 GB, free: 383.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches