Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.24/2.24, allocations: 393.5 MB / 408.4 MB, free: 11 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.001364/0.001364, allocations: 176 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001202/0.001202, allocations: 102.6 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 12.72 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3827, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.6074, allocations: 158.3 MB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.6078, allocations: 99.92 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0516/0.6595, allocations: 16.63 MB / 1.4 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.086e-06/0.6595, allocations: 224 / 1.4 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.138e-05/0.6596, allocations: 8 kB / 1.4 GB, free: 10.38 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00203/0.6616, allocations: 0.7124 MB / 1.401 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.6617, allocations: 8.562 kB / 1.401 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1014/0.7631, allocations: 11.08 MB / 1.412 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/0.78, allocations: 2.496 MB / 1.414 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.7801, allocations: 20.56 kB / 1.414 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006082/0.7808, allocations: 28 kB / 1.414 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006666/0.7875, allocations: 1.518 MB / 1.416 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.7875, allocations: 0 / 1.416 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.7877, allocations: 8 kB / 1.416 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.7877, allocations: 8 kB / 1.416 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/0.7934, allocations: 1.282 MB / 1.417 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008353/0.8018, allocations: 5.468 MB / 1.422 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/0.8073, allocations: 1.232 MB / 1.423 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.8075, allocations: 39.97 kB / 1.424 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.8075, allocations: 34.56 kB / 1.424 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 5.35e-06/0.8076, allocations: 0 / 1.424 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22): time 0.8429/1.65, allocations: 3.505 MB / 1.427 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/1.651, allocations: 62 kB / 1.427 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/1.651, allocations: 290.7 kB / 1.427 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/1.651, allocations: 32.17 kB / 1.427 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/1.652, allocations: 196.1 kB / 1.428 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/1.652, allocations: 79.55 kB / 1.428 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/1.652, allocations: 3.812 kB / 1.428 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.652, allocations: 346.1 kB / 1.428 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/1.664, allocations: 2.108 MB / 1.43 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/1.675, allocations: 2.175 MB / 1.432 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.687, allocations: 1.958 MB / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/1.687, allocations: 1.438 kB / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0228/1.709, allocations: 4.331 MB / 1.438 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-05/1.71, allocations: 183.5 kB / 1.438 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01862/1.728, allocations: 3.635 MB / 1.442 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/1.728, allocations: 2.094 kB / 1.442 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008978/1.737, allocations: 0.9503 MB / 1.443 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.737, allocations: 2.906 kB / 1.443 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008438/1.746, allocations: 0.7989 MB / 1.444 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/1.746, allocations: 74.17 kB / 1.444 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.746, allocations: 3.094 kB / 1.444 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02362/1.77, allocations: 4.276 MB / 1.448 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0195/1.79, allocations: 3.64 MB / 1.451 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.79, allocations: 3.938 kB / 1.452 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008433/1.798, allocations: 0.9442 MB / 1.452 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.798, allocations: 6.031 kB / 1.452 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007892/1.806, allocations: 0.795 MB / 1.453 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/1.806, allocations: 79.09 kB / 1.453 GB, free: 181.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009185/1.807, allocations: 221.8 kB / 1.453 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/1.808, allocations: 35 kB / 1.454 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008588/1.816, allocations: 1.972 MB / 1.455 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.816, allocations: 7.047 kB / 1.455 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.816, allocations: 0 / 1.455 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.816, allocations: 7.531 kB / 1.455 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/1.817, allocations: 1.091 MB / 1.457 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006057/1.824, allocations: 1.37 MB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.826, allocations: 333.1 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.826, allocations: 3.781 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/1.826, allocations: 26.27 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.826, allocations: 0 / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.827, allocations: 7.797 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006251/1.833, allocations: 1.519 MB / 1.46 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/1.833, allocations: 236.4 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.833, allocations: 7.75 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/1.836, allocations: 240.9 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.836, allocations: 28.12 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/1.836, allocations: 34.48 kB / 1.46 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003274/1.837, allocations: 229.7 kB / 1.46 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/1.837, allocations: 0 / 1.46 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002375/1.839, allocations: 375.5 kB / 1.461 GB, free: 179.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007492/1.84, allocations: 195.3 kB / 1.461 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02135/1.861, allocations: 4.477 MB / 1.465 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.861, allocations: 0 / 1.465 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/1.864, allocations: 0.7127 MB / 1.466 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/1.865, allocations: 76.14 kB / 1.466 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/1.869, allocations: 1.346 MB / 1.467 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.869, allocations: 0.8102 MB / 1.468 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00473/1.874, allocations: 0.7052 MB / 1.469 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.875, allocations: 139.4 kB / 1.469 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of SimCode: time 2.204e-06/1.875, allocations: 0 / 1.469 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.05643/1.932, allocations: 37.78 MB / 1.506 GB, free: 136.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches