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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001241/0.001241, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.372/2.372, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.28 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2271, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002327/0.2295, allocations: 1.603 MB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.55e-05/0.2296, allocations: 35.86 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.2296, allocations: 0 / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.542e-05/0.2297, allocations: 3.938 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.2298, allocations: 7.922 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.313e-05/0.2299, allocations: 19.97 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.2299, allocations: 43.86 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.23, allocations: 39.88 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.2301, allocations: 19.92 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.2301, allocations: 27.84 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2302, allocations: 4 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.2302, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.2302, allocations: 15.98 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.2303, allocations: 27.81 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.2303, allocations: 60.02 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2303, allocations: 0 / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.41e-07/0.2303, allocations: 0 / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2304, allocations: 4 kB / 1.054 GB, free: 6.949 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.0003202/0.2307, allocations: 363.4 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.2307, allocations: 8.031 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.2307, allocations: 8.844 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2309, allocations: 184.2 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2309, allocations: 12.31 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2309, allocations: 8.375 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.2311, allocations: 100.7 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2311, allocations: 192 / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2311, allocations: 7.938 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2311, allocations: 0 / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.2312, allocations: 47.91 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.2317, allocations: 0.6439 MB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.2318, allocations: 169.1 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.2318, allocations: 88.14 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2318, allocations: 75.28 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2319, allocations: 105.8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2319, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.693e-05/0.232, allocations: 41.48 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.232, allocations: 126.7 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2321, allocations: 173 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.2322, allocations: 29.7 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.2322, allocations: 100 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.2322, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2323, allocations: 21.7 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.2323, allocations: 314.8 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.2324, allocations: 4 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.2324, allocations: 22.56 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.2324, allocations: 34.52 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2324, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.5e-05/0.2325, allocations: 57.53 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2326, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2326, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2326, allocations: 12.03 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.2326, allocations: 8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2326, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.2327, allocations: 11.84 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.2327, allocations: 0 / 1.057 GB, free: 3.945 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 7.981e-05/0.2328, allocations: 193.1 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.2328, allocations: 112.8 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.2329, allocations: 116.7 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.773e-05/0.2329, allocations: 192.3 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.455e-05/0.233, allocations: 184.2 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/0.2331, allocations: 176.4 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.2333, allocations: 429.2 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.2333, allocations: 109 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.2334, allocations: 108.9 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-05/0.2334, allocations: 176.3 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.2335, allocations: 184.2 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-05/0.2335, allocations: 180.2 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.443e-05/0.2336, allocations: 188.2 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2337, allocations: 311.7 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.2338, allocations: 193.9 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.2338, allocations: 188.1 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.2339, allocations: 101 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.234, allocations: 180.2 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.234, allocations: 105 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.2341, allocations: 127.2 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2341, allocations: 0 / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002157/0.2343, allocations: 8 kB / 1.06 GB, free: 240 kB / 0.8106 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.0001001/0.2344, allocations: 174.5 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.208e-05/0.2345, allocations: 11.94 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2345, allocations: 4.188 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2345, allocations: 4 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2348, allocations: 0.5185 MB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.2351, allocations: 249.7 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2353, allocations: 0.6965 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.2354, allocations: 7.984 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.2354, allocations: 7.438 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2354, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.001936/0.2373, allocations: 408.5 kB / 1.062 GB, free: 14.11 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/jenkins/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