Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 489.7 MB / 0.7761 GB, free: 2.375 MB / 0.6075 GB [Timeout remaining time 86] 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.88 kB / 1.127 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294/1.296, allocations: 172 MB / 1.295 GB, free: 38.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002459/1.298, allocations: 1.542 MB / 1.296 GB, free: 37.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/1.298, allocations: 33.64 kB / 1.296 GB, free: 37.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/1.298, allocations: 2.969 kB / 1.296 GB, free: 37.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/1.299, allocations: 7.219 kB / 1.296 GB, free: 37.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/1.299, allocations: 11.06 kB / 1.296 GB, free: 37.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/1.299, allocations: 22.94 kB / 1.296 GB, free: 37.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.489e-05/1.299, allocations: 40 kB / 1.296 GB, free: 37.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/1.299, allocations: 33.47 kB / 1.297 GB, free: 37.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/1.299, allocations: 23.88 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/1.299, allocations: 31.03 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/1.299, allocations: 5.844 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/1.299, allocations: 2.906 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/1.299, allocations: 19.95 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/1.299, allocations: 29.75 kB / 1.297 GB, free: 37.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/1.299, allocations: 65.7 kB / 1.297 GB, free: 37.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.299, allocations: 0 / 1.297 GB, free: 37.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.299, allocations: 0 / 1.297 GB, free: 37.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.299, allocations: 3 kB / 1.297 GB, free: 37.39 MB / 1.061 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.0003313/1.3, allocations: 368.3 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/1.3, allocations: 9.031 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/1.3, allocations: 10.77 kB / 1.297 GB, free: 37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.3, allocations: 180.6 kB / 1.297 GB, free: 36.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.3, allocations: 4.375 kB / 1.297 GB, free: 36.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/1.3, allocations: 6.281 kB / 1.297 GB, free: 36.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/1.3, allocations: 105.3 kB / 1.297 GB, free: 36.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.3, allocations: 4.188 kB / 1.297 GB, free: 36.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/1.3, allocations: 10.81 kB / 1.297 GB, free: 36.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.3, allocations: 3.984 kB / 1.297 GB, free: 36.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/1.3, allocations: 44.34 kB / 1.297 GB, free: 36.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/1.301, allocations: 0.6378 MB / 1.298 GB, free: 36.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/1.301, allocations: 167.7 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/1.301, allocations: 80.14 kB / 1.298 GB, free: 35.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/1.301, allocations: 79.28 kB / 1.298 GB, free: 35.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/1.301, allocations: 108.5 kB / 1.298 GB, free: 35.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.301, allocations: 4 kB / 1.298 GB, free: 35.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.393e-05/1.301, allocations: 40.09 kB / 1.298 GB, free: 35.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/1.301, allocations: 126.7 kB / 1.299 GB, free: 35.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/1.301, allocations: 168.8 kB / 1.299 GB, free: 35.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/1.301, allocations: 25.7 kB / 1.299 GB, free: 35.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/1.301, allocations: 108.8 kB / 1.299 GB, free: 35.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/1.301, allocations: 3.984 kB / 1.299 GB, free: 35.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/1.301, allocations: 12.62 kB / 1.299 GB, free: 35.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/1.301, allocations: 325.2 kB / 1.299 GB, free: 34.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/1.301, allocations: 6.875 kB / 1.299 GB, free: 34.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/1.301, allocations: 20.98 kB / 1.299 GB, free: 34.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/1.301, allocations: 27.67 kB / 1.299 GB, free: 34.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.301, allocations: 6.781 kB / 1.299 GB, free: 34.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/1.301, allocations: 60.16 kB / 1.299 GB, free: 34.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.301, allocations: 5.812 kB / 1.299 GB, free: 34.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/1.301, allocations: 3.938 kB / 1.299 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.301, allocations: 3.938 kB / 1.299 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/1.301, allocations: 5.938 kB / 1.299 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.301, allocations: 0 / 1.299 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/1.301, allocations: 10.83 kB / 1.299 GB, free: 34.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/1.301, allocations: 3 kB / 1.299 GB, free: 34.71 MB / 1.061 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/1.301, allocations: 201.3 kB / 1.3 GB, free: 34.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/1.301, allocations: 107.8 kB / 1.3 GB, free: 34.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/1.301, allocations: 119.1 kB / 1.3 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/1.301, allocations: 182.9 kB / 1.3 GB, free: 34.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/1.302, allocations: 176.3 kB / 1.3 GB, free: 33.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.302, allocations: 187 kB / 1.3 GB, free: 33.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/1.302, allocations: 424.1 kB / 1.301 GB, free: 33.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.302, allocations: 109.2 kB / 1.301 GB, free: 33.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/1.302, allocations: 111.6 kB / 1.301 GB, free: 33.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.495e-05/1.302, allocations: 176.3 kB / 1.301 GB, free: 32.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/1.302, allocations: 184.1 kB / 1.301 GB, free: 32.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-05/1.302, allocations: 182.8 kB / 1.301 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-05/1.302, allocations: 179.6 kB / 1.302 GB, free: 32.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/1.302, allocations: 311.8 kB / 1.302 GB, free: 32.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/1.302, allocations: 196.2 kB / 1.302 GB, free: 31.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/1.302, allocations: 188.2 kB / 1.302 GB, free: 31.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/1.302, allocations: 101 kB / 1.302 GB, free: 31.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/1.302, allocations: 186.1 kB / 1.303 GB, free: 31.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.302, allocations: 101 kB / 1.303 GB, free: 31.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.768e-05/1.302, allocations: 129.3 kB / 1.303 GB, free: 31.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.302, allocations: 0 / 1.303 GB, free: 31.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002493/1.303, allocations: 8 kB / 1.303 GB, free: 31.12 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0001415/1.303, allocations: 176.1 kB / 1.303 GB, free: 30.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.5e-05/1.303, allocations: 13.62 kB / 1.303 GB, free: 30.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.303, allocations: 0 / 1.303 GB, free: 30.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/1.303, allocations: 0 / 1.303 GB, free: 30.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/1.303, allocations: 458.7 kB / 1.303 GB, free: 30.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/1.304, allocations: 269.7 kB / 1.304 GB, free: 30.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/1.304, allocations: 0.6938 MB / 1.304 GB, free: 29.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/1.304, allocations: 13.16 kB / 1.304 GB, free: 29.55 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.304, allocations: 0 / 1.304 GB, free: 29.55 MB / 1.061 GB Notification: Performance of Templates: time 0.002103/1.306, allocations: 0.8137 MB / 1.305 GB, free: 29.48 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches