Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.044/2.044, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009399/0.0009399, allocations: 180.8 kB / 487.4 MB, free: 4.98 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.353/1.353, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009382, allocations: 107.8 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.876e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2495, allocations: 142.3 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8078/1.057, allocations: 148.8 MB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.058, allocations: 81.67 kB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002793/1.06, allocations: 0.9154 MB / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/1.06, allocations: 0 / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.06, allocations: 2.656 kB / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002628/1.061, allocations: 343 kB / 1.353 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.061, allocations: 13.22 kB / 1.353 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/1.061, allocations: 12.34 kB / 1.353 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.061, allocations: 190.8 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/1.061, allocations: 3.75 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.061, allocations: 3.875 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.072e-05/1.061, allocations: 34.16 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/1.061, allocations: 86.94 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.061, allocations: 0 / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/1.061, allocations: 4 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/1.061, allocations: 3.75 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/1.062, allocations: 0.6076 MB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/1.062, allocations: 177.6 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/1.062, allocations: 80.14 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/1.062, allocations: 75.28 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.062, allocations: 106.7 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.062, allocations: 4 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.24e-05/1.062, allocations: 35.59 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/1.062, allocations: 51.41 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.062, allocations: 110.6 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/1.062, allocations: 29.55 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/1.062, allocations: 107 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/1.062, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.062, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.062, allocations: 320.1 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/1.062, allocations: 3.969 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/1.062, allocations: 22.39 kB / 1.355 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/1.062, allocations: 8.906 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.062, allocations: 0 / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.842e-05/1.063, allocations: 50.73 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.063, allocations: 15.77 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.063, allocations: 0.6094 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.063, allocations: 0 / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/1.063, allocations: 4.578 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.063, allocations: 4.703 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/1.063, allocations: 0 / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.063, allocations: 5.438 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.941e-05/1.063, allocations: 183.9 kB / 1.355 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/1.063, allocations: 106.1 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/1.063, allocations: 117.7 kB / 1.355 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-05/1.063, allocations: 180.9 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-05/1.063, allocations: 177.1 kB / 1.355 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-05/1.063, allocations: 184.8 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/1.063, allocations: 404.2 kB / 1.356 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/1.063, allocations: 108.2 kB / 1.356 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/1.063, allocations: 106.1 kB / 1.356 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/1.063, allocations: 181.6 kB / 1.356 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/1.063, allocations: 180.3 kB / 1.357 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.063e-05/1.064, allocations: 177.6 kB / 1.357 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.387e-05/1.064, allocations: 189.5 kB / 1.357 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/1.064, allocations: 309 kB / 1.357 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/1.064, allocations: 183.5 kB / 1.357 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/1.064, allocations: 177.5 kB / 1.357 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/1.064, allocations: 105.6 kB / 1.358 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/1.064, allocations: 188.8 kB / 1.358 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/1.064, allocations: 109.2 kB / 1.358 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.591e-05/1.064, allocations: 92.62 kB / 1.358 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.064, allocations: 0 / 1.358 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000229/1.064, allocations: 15.47 kB / 1.358 GB, free: 28.21 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001359/1.065, allocations: 174.5 kB / 1.358 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.952e-05/1.065, allocations: 16.42 kB / 1.358 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.065, allocations: 0 / 1.358 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/1.065, allocations: 3.875 kB / 1.358 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/1.065, allocations: 0.5199 MB / 1.359 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/1.065, allocations: 156.7 kB / 1.359 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/1.065, allocations: 0.6991 MB / 1.36 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.604e-05/1.065, allocations: 1.359 kB / 1.36 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/1.065, allocations: 11.31 kB / 1.36 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.065, allocations: 0 / 1.36 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.0018/1.067, allocations: 240 kB / 1.36 GB, free: 26.61 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches