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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.156/1.156, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4873, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002085/0.4894, allocations: 1.541 MB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.534e-05/0.4895, allocations: 32.44 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.4895, allocations: 1.312 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.558e-05/0.4896, allocations: 11.86 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.573e-05/0.4897, allocations: 9.281 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.719e-05/0.4897, allocations: 23.28 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.4898, allocations: 44.2 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4899, allocations: 35.05 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.49, allocations: 21.55 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.49, allocations: 32.09 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.49, allocations: 5.5 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.4901, allocations: 4.125 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.4901, allocations: 25.42 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.4901, allocations: 26.69 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.96e-05/0.4902, allocations: 53.14 kB / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4902, allocations: 0 / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4902, allocations: 0 / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.4902, allocations: 1.062 kB / 0.9514 GB, free: 7.781 MB / 0.7169 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.000259/0.4905, allocations: 370.9 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.4905, allocations: 9.719 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.4906, allocations: 12.61 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4907, allocations: 181 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4907, allocations: 6.938 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.4907, allocations: 4.062 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.4908, allocations: 105.7 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.4908, allocations: 2.031 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.4909, allocations: 7.938 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4909, allocations: 1.469 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.4909, allocations: 46.69 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.4913, allocations: 0.6335 MB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.4913, allocations: 171.3 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.149e-05/0.4913, allocations: 80.14 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.4914, allocations: 79.22 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.4914, allocations: 111.3 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4914, allocations: 4 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.862e-05/0.4914, allocations: 36.98 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.4915, allocations: 132.3 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4916, allocations: 167.7 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-06/0.4916, allocations: 25.7 kB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.4916, allocations: 103.6 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.4917, allocations: 1.25 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.4917, allocations: 20.3 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.207e-05/0.4917, allocations: 325.9 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.4917, allocations: 2.375 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.4918, allocations: 22.75 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.4918, allocations: 27.42 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4918, allocations: 4 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.136e-05/0.4919, allocations: 63.16 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.4919, allocations: 4.094 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4919, allocations: 1.344 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.4919, allocations: 5.312 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.492, allocations: 7.656 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.492, allocations: 1.469 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.492, allocations: 10.38 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.492, allocations: 1.656 kB / 0.9541 GB, free: 5.012 MB / 0.7169 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 4.61e-05/0.4921, allocations: 198.6 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.4921, allocations: 104.7 kB / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.4921, allocations: 115.8 kB / 0.9545 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4922, allocations: 181.2 kB / 0.9546 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.4922, allocations: 185.4 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.4922, allocations: 186.8 kB / 0.955 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.4923, allocations: 422.5 kB / 0.9554 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4923, allocations: 106.7 kB / 0.9555 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.4924, allocations: 102 kB / 0.9556 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/0.4924, allocations: 181.7 kB / 0.9558 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.4924, allocations: 184.1 kB / 0.9559 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/0.4924, allocations: 185.6 kB / 0.9561 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/0.4924, allocations: 185.7 kB / 0.9563 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.789e-05/0.4925, allocations: 305.5 kB / 0.9566 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.4925, allocations: 197 kB / 0.9568 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4926, allocations: 186 kB / 0.957 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.4926, allocations: 105 kB / 0.9571 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.4927, allocations: 185.8 kB / 0.9572 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4927, allocations: 102 kB / 0.9573 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.4927, allocations: 131.6 kB / 0.9575 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.4927, allocations: 0 / 0.9575 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002043/0.493, allocations: 7.156 kB / 0.9575 GB, free: 1.387 MB / 0.7169 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 7.252e-05/0.493, allocations: 183.6 kB / 0.9576 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.426e-05/0.4931, allocations: 9.719 kB / 0.9577 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4931, allocations: 0 / 0.9577 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4931, allocations: 1.375 kB / 0.9577 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.4933, allocations: 462.5 kB / 0.9581 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.4936, allocations: 232.1 kB / 0.9583 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.4937, allocations: 0.7007 MB / 0.959 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.4937, allocations: 7.734 kB / 0.959 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.4937, allocations: 14.06 kB / 0.959 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.4938, allocations: 0 / 0.959 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.001873/0.4956, allocations: 426.6 kB / 0.9594 GB, free: 15.6 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches