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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_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.001852/0.001852, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.002191/0.00219, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.453/1.453, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7423 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.41 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.382, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003498/0.3856, allocations: 1.59 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001633/0.3858, allocations: 35.84 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.3859, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.386, allocations: 7.922 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.3861, allocations: 3.938 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.3862, allocations: 19.98 kB / 1.065 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3863, allocations: 47.83 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3865, allocations: 35.97 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.3866, allocations: 19.92 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.3867, allocations: 31.86 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3867, allocations: 4 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.3867, allocations: 4 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3868, allocations: 19.92 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.3868, allocations: 27.86 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.3869, allocations: 44.16 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3869, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3869, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.387, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8419 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.0004573/0.3874, allocations: 371.2 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3875, allocations: 8.625 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3875, allocations: 4.938 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3877, allocations: 188.2 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3877, allocations: 12.31 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3878, allocations: 4.375 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3879, allocations: 96.75 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.388, allocations: 4.125 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.388, allocations: 7.938 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.388, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.3881, allocations: 43.97 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.3887, allocations: 0.6439 MB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.3888, allocations: 173.1 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.3889, allocations: 84.14 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.3889, allocations: 75.28 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.389, allocations: 109.8 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.389, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.309e-05/0.3891, allocations: 41.48 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.3892, allocations: 130.7 kB / 1.067 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3894, allocations: 164.1 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3894, allocations: 29.7 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.3895, allocations: 100 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.3895, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3895, allocations: 17.72 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3896, allocations: 322.8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3897, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.3897, allocations: 22.58 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.3897, allocations: 30.52 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3898, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001378/0.3899, allocations: 61.53 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3899, allocations: 12.03 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3899, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.39, allocations: 7.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.39, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.39, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3901, allocations: 11.84 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3901, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 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.000125/0.3902, allocations: 193.1 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.3903, allocations: 120.8 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.3904, allocations: 116.8 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/0.3904, allocations: 184.3 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-05/0.3905, allocations: 188.3 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/0.3906, allocations: 176.3 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3909, allocations: 429.1 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.944e-05/0.3909, allocations: 105 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.391, allocations: 105.1 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.3911, allocations: 180.3 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.3911, allocations: 188.2 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.805e-05/0.3912, allocations: 180.2 kB / 1.07 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.7e-05/0.3913, allocations: 188.2 kB / 1.07 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3914, allocations: 307.7 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3916, allocations: 190 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.3917, allocations: 188.1 kB / 1.071 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.3917, allocations: 101 kB / 1.071 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.3918, allocations: 188.2 kB / 1.071 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.3919, allocations: 101 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001042/0.392, allocations: 129.9 kB / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.392, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002259/0.3922, allocations: 8 kB / 1.072 GB, free: 6.734 MB / 0.8419 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.0001545/0.3924, allocations: 170.5 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.3925, allocations: 15.94 kB / 1.072 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3925, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.3925, allocations: 8 kB / 1.072 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3929, allocations: 461.4 kB / 1.072 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.3933, allocations: 271.3 kB / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3936, allocations: 0.6923 MB / 1.073 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.3937, allocations: 15.38 kB / 1.073 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3937, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of Templates: time 0.002218/0.3959, allocations: 0.7976 MB / 1.074 GB, free: 4.25 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) 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) Reference file matches