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.004654/0.004654, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001182/0.001182, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.27 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.295/2.295, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2338, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002417/0.2363, allocations: 1.531 MB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 9.544e-05/0.2364, allocations: 35.84 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.2364, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.804e-05/0.2366, allocations: 11.88 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.187e-05/0.2366, allocations: 7.922 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.067e-05/0.2367, allocations: 19.92 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.298e-05/0.2368, allocations: 51.83 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2369, allocations: 35.94 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.237, allocations: 19.92 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.237, allocations: 23.91 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.237, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.237, allocations: 4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.2371, allocations: 23.92 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.2371, allocations: 27.81 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.2372, allocations: 59.67 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2372, allocations: 4 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2372, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2373, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 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.000348/0.2376, allocations: 371.2 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.2376, allocations: 8.031 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.2377, allocations: 8.891 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2378, allocations: 180.3 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2379, allocations: 4.375 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2379, allocations: 8.375 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.238, allocations: 104.7 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.238, allocations: 192 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.238, allocations: 7.938 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.238, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.2381, allocations: 43.91 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.2386, allocations: 0.6441 MB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.2387, allocations: 173.1 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.2387, allocations: 80.14 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2387, allocations: 75.28 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.2388, allocations: 113.8 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.2388, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 5.946e-05/0.2389, allocations: 37.59 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.2389, allocations: 130.7 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2391, allocations: 168.1 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2391, allocations: 25.7 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.2391, allocations: 104 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.2391, allocations: 4 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.2392, allocations: 21.7 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.2393, allocations: 318.8 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2393, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.2393, allocations: 26.56 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.2394, allocations: 34.52 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2394, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001063/0.2395, allocations: 57.53 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2395, allocations: 7.984 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2395, allocations: 4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2395, allocations: 3.938 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.2396, allocations: 7.938 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2396, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.2396, allocations: 12.05 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.2396, allocations: 3.938 kB / 1.171 GB, free: 1.906 MB / 0.92 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.181e-05/0.2397, allocations: 193.1 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.2398, allocations: 112.9 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.2399, allocations: 116.8 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/0.2399, allocations: 180.2 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.585e-05/0.24, allocations: 184.2 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/0.24, allocations: 184.2 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.2402, allocations: 425.2 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/0.2403, allocations: 105 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.2403, allocations: 104.9 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-05/0.2404, allocations: 184.3 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.2404, allocations: 188.1 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.992e-05/0.2405, allocations: 176.5 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.088e-05/0.2405, allocations: 180.2 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.2407, allocations: 319.8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.2407, allocations: 186 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.2408, allocations: 188.2 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.2409, allocations: 104.9 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.2409, allocations: 180.3 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.241, allocations: 101 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.87e-05/0.2411, allocations: 129.8 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2411, allocations: 4 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002041/0.2413, allocations: 12 kB / 1.175 GB, free: 14.2 MB / 0.9356 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.0001068/0.2414, allocations: 178.5 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.2414, allocations: 8 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2415, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2415, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2418, allocations: 467.9 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.2421, allocations: 241.1 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2424, allocations: 0.6885 MB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.2424, allocations: 7.984 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.2424, allocations: 11.44 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of SimCode: time 1.342e-06/0.2424, allocations: 4 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.002027/0.2445, allocations: 434.4 kB / 1.176 GB, free: 12.12 MB / 0.9356 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