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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001492/0.001491, allocations: 100.1 kB / 15.88 MB, free: 12 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.001464/0.001463, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.12 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3852, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003083/0.3883, allocations: 1.603 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.3884, allocations: 31.84 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.3885, allocations: 4 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.3886, allocations: 3.938 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.3887, allocations: 7.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3888, allocations: 19.97 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.3889, allocations: 39.86 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3891, allocations: 35.89 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.3891, allocations: 19.92 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.3892, allocations: 27.84 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3892, allocations: 4 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.3892, allocations: 4 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.3893, allocations: 19.97 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.3893, allocations: 23.81 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.498e-05/0.3894, allocations: 48.09 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3894, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3894, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3894, allocations: 4 kB / 1.055 GB, free: 6.402 MB / 0.8106 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.0004335/0.3899, allocations: 357.2 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3899, allocations: 15.97 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.39, allocations: 12.84 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3902, allocations: 180.2 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3902, allocations: 8.312 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3902, allocations: 4.375 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3904, allocations: 110.8 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3904, allocations: 192 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3904, allocations: 3.938 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3904, allocations: 4 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.332e-05/0.3905, allocations: 39.97 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.3911, allocations: 0.6478 MB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.3912, allocations: 165.1 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.3913, allocations: 84.14 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3913, allocations: 75.28 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3914, allocations: 113.8 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3914, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.638e-05/0.3915, allocations: 45.47 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.3915, allocations: 126.7 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3917, allocations: 169.8 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3917, allocations: 25.7 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.3918, allocations: 108 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.3918, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3918, allocations: 13.72 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.392, allocations: 322.8 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.392, allocations: 8 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.392, allocations: 22.56 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.3921, allocations: 30.52 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3921, allocations: 4 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.3922, allocations: 53.55 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3922, allocations: 5.719 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3922, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3923, allocations: 7.922 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.3923, allocations: 8 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3923, allocations: 96 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.3924, allocations: 15.84 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.3924, allocations: 7.938 kB / 1.057 GB, free: 3.391 MB / 0.8106 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.0001068/0.3925, allocations: 189.1 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.3926, allocations: 116.9 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.3926, allocations: 112.8 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/0.3927, allocations: 180.2 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/0.3928, allocations: 184.3 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.3928, allocations: 192.2 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3931, allocations: 417.2 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.819e-05/0.3931, allocations: 101 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.3932, allocations: 117.1 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.817e-05/0.3932, allocations: 184.3 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.3933, allocations: 184.1 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.46e-05/0.3934, allocations: 176.3 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.074e-05/0.3934, allocations: 180.3 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3936, allocations: 315.7 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.3937, allocations: 193.9 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.3937, allocations: 184.2 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.3938, allocations: 101 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.3939, allocations: 184.2 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3939, allocations: 101 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.3941, allocations: 131.2 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3941, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002267/0.3943, allocations: 4 kB / 1.061 GB, free: 15.7 MB / 0.8262 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.0001352/0.3944, allocations: 174.5 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.3945, allocations: 15.94 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3945, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3945, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3949, allocations: 0.5304 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.3953, allocations: 268.7 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3956, allocations: 0.7004 MB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.3956, allocations: 7.438 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3956, allocations: 0 / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.002136/0.3978, allocations: 0.7957 MB / 1.063 GB, free: 13.14 MB / 0.8262 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