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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_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.0008613/0.0008613, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005016/0.005016, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.256/2.256, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002855, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5153, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001507/0.5168, allocations: 1.258 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.5169, allocations: 27.86 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.517, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.382e-05/0.5171, allocations: 3.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.5171, allocations: 15.92 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.281e-05/0.5172, allocations: 19.98 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.5173, allocations: 43.83 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.5174, allocations: 27.98 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.5174, allocations: 11.94 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.5175, allocations: 31.78 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.5175, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.214e-06/0.5175, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.5176, allocations: 12 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.5176, allocations: 49.5 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.333e-05/0.5177, allocations: 53.77 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5177, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5177, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.5177, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 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.0002956/0.518, allocations: 355.3 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.518, allocations: 8.031 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.5181, allocations: 8.844 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.5182, allocations: 184.2 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.5183, allocations: 4.375 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5183, allocations: 12.31 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.5184, allocations: 92.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.5184, allocations: 192 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5184, allocations: 15.94 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5185, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.5185, allocations: 51.89 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.519, allocations: 0.644 MB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.5191, allocations: 169.1 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.5192, allocations: 84.14 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.5192, allocations: 79.31 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5192, allocations: 109.8 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.5192, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.231e-05/0.5193, allocations: 37.55 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.5194, allocations: 134.6 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5195, allocations: 168.2 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.5195, allocations: 25.7 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.5196, allocations: 107.9 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.5196, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.5196, allocations: 17.7 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5197, allocations: 318.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.5197, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.5198, allocations: 26.56 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.5198, allocations: 26.52 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5198, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001001/0.5199, allocations: 57.62 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5199, allocations: 8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.52, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.52, allocations: 3.938 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.52, allocations: 7.938 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.52, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.5201, allocations: 3.906 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.5201, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 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 9.057e-05/0.5202, allocations: 197.7 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.5202, allocations: 112.8 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.5203, allocations: 116.8 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/0.5203, allocations: 176.3 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/0.5204, allocations: 188.1 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.5205, allocations: 184.3 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5207, allocations: 421.1 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.5207, allocations: 105 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.5207, allocations: 101 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.366e-05/0.5208, allocations: 184.2 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.5209, allocations: 184.2 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.176e-05/0.5209, allocations: 184.4 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-05/0.521, allocations: 176.3 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.5211, allocations: 323.7 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.5212, allocations: 190 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.5212, allocations: 188.1 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.5213, allocations: 101 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.5214, allocations: 184.2 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.5214, allocations: 105 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.5215, allocations: 121.7 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5215, allocations: 4 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002099/0.5217, allocations: 4 kB / 1.031 GB, free: 7.594 MB / 0.7794 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.0001083/0.5218, allocations: 186.5 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.086e-05/0.5219, allocations: 11.94 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5219, allocations: 0 / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5219, allocations: 0 / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.5222, allocations: 0.5265 MB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.5225, allocations: 244 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.5228, allocations: 0.6926 MB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.5228, allocations: 4 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.5228, allocations: 19.38 kB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5228, allocations: 0 / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of Templates: time 0.001871/0.5247, allocations: 408.6 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches