Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001393/0.001393, allocations: 108.1 kB / 15.99 MB, free: 5.906 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.001498/0.001498, allocations: 195.4 kB / 16.91 MB, free: 5.754 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.498/1.498, allocations: 222.9 MB / 240.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.14 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 159.2 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003732/0.3872, allocations: 1.591 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.3874, allocations: 27.81 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.3875, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3876, allocations: 7.922 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.3877, allocations: 11.92 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.3879, allocations: 19.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.388, allocations: 43.84 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3881, allocations: 27.98 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.3882, allocations: 27.92 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.3883, allocations: 27.84 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3883, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.3883, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.3884, allocations: 23.91 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.3884, allocations: 27.81 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3885, allocations: 44.16 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3885, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3886, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3886, allocations: 0 / 1.066 GB, free: 13.18 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.0005104/0.3891, allocations: 371.2 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3891, allocations: 12.03 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.3892, allocations: 4.938 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.3894, allocations: 176.3 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3894, allocations: 8.312 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3894, allocations: 4.375 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3896, allocations: 107 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3897, allocations: 4.188 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3897, allocations: 3.938 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3897, allocations: 4 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.3898, allocations: 43.91 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.3905, allocations: 0.6478 MB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.3907, allocations: 169.1 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.3907, allocations: 80.14 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.3908, allocations: 75.28 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/0.3909, allocations: 113.8 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3909, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.948e-05/0.391, allocations: 41.48 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3911, allocations: 126.7 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3913, allocations: 168.5 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3913, allocations: 25.7 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.3914, allocations: 100 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.3914, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3915, allocations: 21.72 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3916, allocations: 318.8 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.3917, allocations: 7.938 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.3917, allocations: 22.58 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.3918, allocations: 30.5 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3918, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000133/0.3919, allocations: 57.55 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3919, allocations: 4 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3919, allocations: 3.938 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.392, allocations: 3.938 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.392, allocations: 8 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.392, allocations: 3.984 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.3921, allocations: 7.844 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3921, allocations: 8.094 kB / 1.069 GB, free: 10.18 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.000141/0.3922, allocations: 194.4 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.3923, allocations: 108.9 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.3924, allocations: 116.8 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.3925, allocations: 180.2 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.3926, allocations: 188.3 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.289e-05/0.3927, allocations: 184.2 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3931, allocations: 421.2 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.996e-05/0.3931, allocations: 101 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.3932, allocations: 113.1 kB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.489e-05/0.3933, allocations: 184.3 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.3934, allocations: 188.1 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-05/0.3935, allocations: 180.3 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-05/0.3936, allocations: 180.3 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3938, allocations: 307.7 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.3939, allocations: 193.9 kB / 1.071 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.394, allocations: 184.2 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3941, allocations: 105 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.3942, allocations: 184.2 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.3943, allocations: 101 kB / 1.072 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001318/0.3944, allocations: 129.3 kB / 1.072 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3944, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002394/0.3947, allocations: 8 kB / 1.072 GB, free: 6.477 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.0002026/0.3949, allocations: 174.5 kB / 1.072 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.395, allocations: 15.92 kB / 1.072 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.395, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.395, allocations: 4 kB / 1.072 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.3955, allocations: 463.9 kB / 1.073 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.396, allocations: 267.1 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.3964, allocations: 0.6924 MB / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.3964, allocations: 15.38 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3964, allocations: 3.938 kB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of Templates: time 0.002554/0.399, allocations: 0.8046 MB / 1.074 GB, free: 3.984 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches