Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001551/0.001551, allocations: 104.1 kB / 16.35 MB, free: 6.289 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.001794/0.001794, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.006/2.006, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.41 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2347, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00251/0.2373, allocations: 1.535 MB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.2374, allocations: 31.84 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.2375, allocations: 4 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.2376, allocations: 7.922 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.2376, allocations: 7.938 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.175e-05/0.2377, allocations: 19.97 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.2378, allocations: 51.78 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2379, allocations: 39.91 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.238, allocations: 23.92 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.238, allocations: 23.92 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2381, allocations: 4 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2381, allocations: 4 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.2381, allocations: 19.92 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.2382, allocations: 31.8 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2383, allocations: 59.75 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2383, allocations: 0 / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2383, allocations: 0 / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2383, allocations: 3.938 kB / 0.9529 GB, free: 6.176 MB / 0.7325 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.000376/0.2387, allocations: 368.3 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2387, allocations: 8.031 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2388, allocations: 16.77 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.2389, allocations: 180.3 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2389, allocations: 12.31 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.239, allocations: 4.375 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2391, allocations: 100.7 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2391, allocations: 192 / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2392, allocations: 11.94 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2392, allocations: 8 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.2392, allocations: 39.97 kB / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.2398, allocations: 0.6361 MB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.2399, allocations: 173.1 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.2399, allocations: 84.12 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.2399, allocations: 75.28 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.24, allocations: 109.8 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.24, allocations: 0 / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.275e-05/0.2401, allocations: 45.48 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2401, allocations: 126.7 kB / 0.9549 GB, free: 4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2403, allocations: 164.1 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.2403, allocations: 25.7 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.2403, allocations: 108 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.2403, allocations: 4 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.2404, allocations: 9.719 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2405, allocations: 322.8 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.2405, allocations: 12 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.2405, allocations: 18.58 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.2406, allocations: 26.52 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2406, allocations: 0 / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.2407, allocations: 61.53 kB / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2407, allocations: 8 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2407, allocations: 0 / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.2407, allocations: 3.938 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.2408, allocations: 4 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2408, allocations: 0 / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.2408, allocations: 15.78 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2409, allocations: 3.984 kB / 0.9556 GB, free: 3.164 MB / 0.7325 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 8.511e-05/0.2409, allocations: 199.2 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.241, allocations: 116.9 kB / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.2411, allocations: 120.8 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-05/0.2411, allocations: 180.2 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-05/0.2412, allocations: 176.3 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.744e-05/0.2413, allocations: 180.2 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2415, allocations: 433.1 kB / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.2415, allocations: 105 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.2416, allocations: 104.9 kB / 0.9572 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.794e-05/0.2416, allocations: 180.3 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.2417, allocations: 184.2 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.537e-05/0.2417, allocations: 184.4 kB / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-05/0.2418, allocations: 176.3 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.2419, allocations: 319.7 kB / 0.9581 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.242, allocations: 186 kB / 0.9583 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.2421, allocations: 184.2 kB / 0.9585 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.2422, allocations: 109.1 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.2422, allocations: 188.2 kB / 0.9588 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.2423, allocations: 105 kB / 0.9589 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.515e-05/0.2424, allocations: 126.3 kB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2424, allocations: 0 / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002046/0.2426, allocations: 8 kB / 0.959 GB, free: 15.45 MB / 0.7481 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.0001207/0.2427, allocations: 174.5 kB / 0.9592 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.2428, allocations: 15.94 kB / 0.9592 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2428, allocations: 0 / 0.9592 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.2428, allocations: 3.984 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2431, allocations: 459.7 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.2434, allocations: 233.5 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2437, allocations: 0.6961 MB / 0.9605 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.2437, allocations: 4 kB / 0.9605 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.2437, allocations: 7.438 kB / 0.9605 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.2437, allocations: 0 / 0.9605 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.002112/0.2459, allocations: 436.4 kB / 0.961 GB, free: 13.39 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches