Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.811/1.811, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.798/2.798, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.83 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3896, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00318/0.3927, allocations: 1.551 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.3929, allocations: 31.86 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.3929, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3931, allocations: 3.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.3931, allocations: 11.92 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.3932, allocations: 27.91 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3933, allocations: 39.91 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3935, allocations: 23.98 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.3935, allocations: 19.92 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.3936, allocations: 35.84 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3936, allocations: 4 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.3937, allocations: 8 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.3937, allocations: 19.92 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3938, allocations: 27.8 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3939, allocations: 59.69 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3939, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3939, allocations: 3.938 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3939, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 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.0005152/0.3944, allocations: 367.2 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3945, allocations: 8.031 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.3945, allocations: 8.891 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3947, allocations: 188.2 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3948, allocations: 8.375 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.3948, allocations: 4.375 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.395, allocations: 96.73 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.395, allocations: 192 / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.395, allocations: 11.94 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.395, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.3951, allocations: 43.97 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.3958, allocations: 0.644 MB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3959, allocations: 165.1 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.396, allocations: 88.12 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.396, allocations: 79.28 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.976e-05/0.3961, allocations: 109.8 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3961, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001042/0.3962, allocations: 45.52 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.3963, allocations: 126.7 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3965, allocations: 166.5 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3965, allocations: 25.7 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.3966, allocations: 112 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-06/0.3966, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.3966, allocations: 13.72 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3968, allocations: 322.8 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.3968, allocations: 4 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.3968, allocations: 22.58 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.3969, allocations: 30.52 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3969, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000141/0.397, allocations: 57.58 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3971, allocations: 4 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3971, allocations: 4.094 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.3971, allocations: 11.94 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.3972, allocations: 4 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3972, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.3972, allocations: 7.953 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.3972, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 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 0.0001533/0.3974, allocations: 197.1 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.3974, allocations: 113.7 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.3975, allocations: 128.7 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.854e-05/0.3976, allocations: 180.2 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.087e-05/0.3977, allocations: 180.3 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-05/0.3978, allocations: 180.2 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.3981, allocations: 429.1 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.831e-05/0.3982, allocations: 109.1 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.3982, allocations: 108.9 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-05/0.3983, allocations: 176.3 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.3984, allocations: 184.1 kB / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.508e-05/0.3985, allocations: 184.2 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.888e-05/0.3985, allocations: 176.3 kB / 1.221 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3987, allocations: 311.7 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3988, allocations: 198 kB / 1.221 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.3989, allocations: 180.2 kB / 1.221 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.399, allocations: 109 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.3991, allocations: 184.2 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.3992, allocations: 105 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001218/0.3993, allocations: 132.7 kB / 1.222 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3993, allocations: 0 / 1.222 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002162/0.3995, allocations: 8 kB / 1.222 GB, free: 8.352 MB / 0.9669 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.0001685/0.3997, allocations: 170.5 kB / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.481e-05/0.3997, allocations: 12.06 kB / 1.222 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3997, allocations: 4.062 kB / 1.222 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.3997, allocations: 4 kB / 1.222 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.4002, allocations: 461.6 kB / 1.223 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.4006, allocations: 266.8 kB / 1.223 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.401, allocations: 0.6983 MB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.401, allocations: 11.44 kB / 1.224 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.401, allocations: 0 / 1.224 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of Templates: time 0.002481/0.4035, allocations: 0.8117 MB / 1.224 GB, free: 5.867 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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 [Calling sys.exit(0), Time elapsed: 11.936436106916517]