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.001104/0.001104, allocations: 116.4 kB / 16.37 MB, free: 6.012 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.001388/0.001388, allocations: 194.3 kB / 17.31 MB, free: 5.613 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.308/1.308, 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.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 65.98 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2308, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002551/0.2334, allocations: 1.546 MB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 9.867e-05/0.2335, allocations: 31.84 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2336, allocations: 0 / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2337, allocations: 7.938 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.2337, allocations: 15.86 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.693e-05/0.2338, allocations: 11.98 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.277e-05/0.2339, allocations: 47.84 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.234, allocations: 43.91 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.2341, allocations: 19.92 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.2341, allocations: 35.84 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2342, allocations: 4 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.2342, allocations: 4 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.2342, allocations: 11.98 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.2343, allocations: 31.81 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.665e-05/0.2344, allocations: 67.67 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2344, allocations: 0 / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.739e-06/0.2344, allocations: 0 / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2344, allocations: 3.938 kB / 0.953 GB, free: 6.152 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.000382/0.2348, allocations: 359.3 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2348, allocations: 12.03 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.2349, allocations: 8.844 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.235, allocations: 180.3 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.2351, allocations: 8.312 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.2351, allocations: 8.375 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2352, allocations: 104.7 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2352, allocations: 192 / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2353, allocations: 7.938 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2353, allocations: 4 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.2353, allocations: 43.91 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.2359, allocations: 0.644 MB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.236, allocations: 165.1 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.236, allocations: 80.14 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.236, allocations: 79.28 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.2361, allocations: 105.8 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2361, allocations: 4 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.648e-05/0.2361, allocations: 41.48 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2362, allocations: 134.7 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2364, allocations: 163.3 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2364, allocations: 29.7 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.2364, allocations: 96.05 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.431e-06/0.2365, allocations: 7.938 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.2365, allocations: 21.64 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.2366, allocations: 314.8 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.2366, allocations: 4 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.2366, allocations: 26.56 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.2367, allocations: 30.52 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2367, allocations: 0 / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001073/0.2368, allocations: 57.53 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2368, allocations: 9.719 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2368, allocations: 0 / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2369, allocations: 4.031 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.2369, allocations: 8 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2369, allocations: 4 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.237, allocations: 7.844 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.237, allocations: 4 kB / 0.9556 GB, free: 3.148 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 9.263e-05/0.2371, allocations: 199 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.2371, allocations: 112.9 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.2372, allocations: 116.8 kB / 0.956 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/0.2373, allocations: 184.2 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.093e-05/0.2373, allocations: 180.2 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.623e-05/0.2374, allocations: 184.2 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.2376, allocations: 421.2 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/0.2376, allocations: 105 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.2377, allocations: 112.9 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.708e-05/0.2377, allocations: 180.3 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.2378, allocations: 184.1 kB / 0.9575 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-05/0.2379, allocations: 180.5 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.2379, allocations: 184.2 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.238, allocations: 315.7 kB / 0.9582 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.2381, allocations: 190 kB / 0.9583 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.2382, allocations: 180.2 kB / 0.9585 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.2383, allocations: 105 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.2384, allocations: 188.2 kB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.2384, allocations: 105 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.236e-05/0.2385, allocations: 133.3 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2385, allocations: 0 / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002261/0.2387, allocations: 4 kB / 0.959 GB, free: 15.44 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.0001159/0.2389, allocations: 174.5 kB / 0.9592 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.2389, allocations: 11.94 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2389, allocations: 192 / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.239, allocations: 4 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.0003368/0.2393, allocations: 463.6 kB / 0.9596 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.2396, allocations: 237.3 kB / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2398, allocations: 0.6922 MB / 0.9606 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.2399, allocations: 11.98 kB / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.2399, allocations: 11.44 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2399, allocations: 0 / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.002241/0.2421, allocations: 420.6 kB / 0.961 GB, free: 13.38 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 gbode -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