Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001266/0.001266, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 482.4 MB / 0.755 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002063, allocations: 71.86 kB / 0.924 GB, free: 344 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7407, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002891/0.7437, allocations: 1.906 MB / 1.084 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.7448, allocations: 0.713 MB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.7449, allocations: 1.906 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.586e-05/0.745, allocations: 8.984 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.7453, allocations: 49.2 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.7455, allocations: 61.25 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.7458, allocations: 134.3 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.746, allocations: 39.61 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.746, allocations: 44.25 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.7462, allocations: 54.95 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.7462, allocations: 6.844 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.7463, allocations: 19.95 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.7463, allocations: 17.28 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.7464, allocations: 52.64 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.7466, allocations: 81.44 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7466, allocations: 0.7031 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7466, allocations: 3.938 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7466, allocations: 0 / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006719/0.7473, allocations: 416.2 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7473, allocations: 13.56 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.7474, allocations: 14.34 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.7476, allocations: 195.1 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.7476, allocations: 12.55 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.7477, allocations: 7.969 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.7479, allocations: 91.34 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7479, allocations: 0.6562 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.748, allocations: 9.469 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.748, allocations: 5.781 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.7482, allocations: 59.45 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.7488, allocations: 374 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.7491, allocations: 60.69 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.7492, allocations: 25.28 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.7492, allocations: 0.5938 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.7492, allocations: 32.7 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7492, allocations: 0 / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003925/0.7496, allocations: 104.2 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.7497, allocations: 53.27 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.7499, allocations: 154.1 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.7499, allocations: 25.7 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.75, allocations: 100.6 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.75, allocations: 17.91 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.75, allocations: 14.09 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7502, allocations: 324.8 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.7503, allocations: 25.41 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.7504, allocations: 21.81 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.7506, allocations: 49.67 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7506, allocations: 0.9062 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002266/0.7508, allocations: 85.56 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7508, allocations: 11.34 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7508, allocations: 1.281 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7509, allocations: 1.406 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.751, allocations: 15.16 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.751, allocations: 0.625 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.751, allocations: 7.594 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7511, allocations: 1.438 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001399/0.7512, allocations: 111.6 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.662e-05/0.7513, allocations: 21.11 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001512/0.7514, allocations: 47.92 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.7515, allocations: 6.203 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002094/0.7517, allocations: 79.61 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.7517, allocations: 9 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.7517, allocations: 0 / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.7517, allocations: 5.781 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.7518, allocations: 11.44 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.7518, allocations: 0 / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.7519, allocations: 10.41 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.7519, allocations: 5.062 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.752, allocations: 182.8 kB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.752, allocations: 17.16 kB / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.7523, allocations: 90.95 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7523, allocations: 0.7031 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7523, allocations: 0.9375 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7523, allocations: 4 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.7526, allocations: 185.2 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7526, allocations: 0 / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.7526, allocations: 11.14 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.7526, allocations: 7.938 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7527, allocations: 1.094 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7527, allocations: 0.6094 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7527, allocations: 0 / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.7529, allocations: 174 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.753, allocations: 90.22 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.7531, allocations: 8.594 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.7532, allocations: 5.828 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.7532, allocations: 4.547 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.7532, allocations: 0 / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.7533, allocations: 119.1 kB / 1.089 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7533, allocations: 0 / 1.089 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003245/0.7536, allocations: 41.09 kB / 1.089 GB, free: 12.61 MB / 0.8419 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.7538, allocations: 100.9 kB / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.7541, allocations: 78.36 kB / 1.089 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7542, allocations: 1.469 kB / 1.089 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.7543, allocations: 18.28 kB / 1.089 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.7547, allocations: 34.45 kB / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.7551, allocations: 259.2 kB / 1.089 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.7555, allocations: 0.7037 MB / 1.09 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.7555, allocations: 12.98 kB / 1.09 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.7555, allocations: 0 / 1.09 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.00327/0.7588, allocations: 1.336 MB / 1.091 GB, free: 11.44 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches