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.001614/0.001614, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001816/0.001816, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.391/2.391, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 69.39 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2621, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003115/0.2652, allocations: 1.55 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.2654, allocations: 23.88 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.2654, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2656, allocations: 19.86 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.2656, allocations: 7.922 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.2657, allocations: 19.97 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.2658, allocations: 43.91 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2659, allocations: 35.97 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.266, allocations: 19.92 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.2661, allocations: 23.86 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2661, allocations: 4 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.2661, allocations: 8 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.2662, allocations: 27.91 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.2662, allocations: 27.8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.2663, allocations: 55.69 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2663, allocations: 0 / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2663, allocations: 4 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2663, allocations: 0 / 1.029 GB, free: 236 kB / 0.795 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.000378/0.2667, allocations: 363.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2668, allocations: 8.031 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.2668, allocations: 8.844 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.267, allocations: 188.2 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.267, allocations: 8.312 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.267, allocations: 8.375 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2672, allocations: 92.8 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2672, allocations: 4.188 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2672, allocations: 3.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2672, allocations: 3.938 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.2673, allocations: 47.92 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.2679, allocations: 0.6439 MB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/0.268, allocations: 169.1 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.2681, allocations: 92.08 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2681, allocations: 75.28 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.2682, allocations: 105.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.2682, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.272e-05/0.2683, allocations: 37.55 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.2684, allocations: 126.7 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.2686, allocations: 176 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2686, allocations: 25.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.2686, allocations: 100 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.2687, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.2687, allocations: 17.72 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.2688, allocations: 322.8 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.2688, allocations: 3.938 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.2688, allocations: 26.58 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.2689, allocations: 26.58 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2689, allocations: 3.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001129/0.269, allocations: 57.55 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.269, allocations: 4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.269, allocations: 4.094 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.2691, allocations: 7.938 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.2691, allocations: 7.938 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2691, allocations: 7.969 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.2692, allocations: 11.84 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.2692, allocations: 0 / 1.031 GB, free: 13.22 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 8.528e-05/0.2693, allocations: 189.1 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.2694, allocations: 113 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.2694, allocations: 128.7 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/0.2695, allocations: 184.3 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.828e-05/0.2695, allocations: 180.2 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.422e-05/0.2696, allocations: 176.3 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2698, allocations: 425.2 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.2698, allocations: 108.9 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.2699, allocations: 104.9 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.137e-05/0.2699, allocations: 184.2 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.27, allocations: 188.2 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.696e-05/0.27, allocations: 176.5 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-05/0.2701, allocations: 180.2 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2702, allocations: 323.7 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.2703, allocations: 182 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.2703, allocations: 184.2 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.2704, allocations: 108.9 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.2705, allocations: 192.2 kB / 1.034 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.2705, allocations: 104.9 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.889e-05/0.2706, allocations: 125.9 kB / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2706, allocations: 0 / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002221/0.2708, allocations: 8 kB / 1.035 GB, free: 9.508 MB / 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.0001201/0.271, allocations: 174.5 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.271, allocations: 12.05 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2711, allocations: 4 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.2711, allocations: 3.938 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2714, allocations: 455.7 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.2718, allocations: 225.5 kB / 1.035 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.272, allocations: 0.6925 MB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.272, allocations: 7.984 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.272, allocations: 11.44 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.272, allocations: 0 / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of Templates: time 0.002336/0.2744, allocations: 428.4 kB / 1.037 GB, free: 7.449 MB / 0.8106 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 -s gbode -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