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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001264/0.001265, allocations: 107.4 kB / 16.27 MB, free: 5.973 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.001142/0.001142, allocations: 190.1 kB / 17.2 MB, free: 5.598 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.3 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.0029/0.3123, allocations: 1.543 MB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.3124, allocations: 27.91 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.3125, allocations: 3.938 kB / 0.9518 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.3126, allocations: 15.86 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.3127, allocations: 3.938 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3128, allocations: 23.97 kB / 0.9518 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.3129, allocations: 39.86 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3131, allocations: 43.86 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.3131, allocations: 23.91 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.3132, allocations: 27.91 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3132, allocations: 4 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.3132, allocations: 4 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.3133, allocations: 19.92 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3133, allocations: 27.81 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3134, allocations: 52.03 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3135, allocations: 8 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3135, allocations: 0 / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3135, allocations: 0 / 0.9521 GB, free: 6.992 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.0004654/0.314, allocations: 363.3 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.314, allocations: 8.031 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.314, allocations: 8.844 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3142, allocations: 184.3 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3143, allocations: 12.31 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3143, allocations: 8.375 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3144, allocations: 104.7 kB / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3145, allocations: 192 / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3145, allocations: 3.938 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3145, allocations: 0 / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.3146, allocations: 47.91 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.3151, allocations: 0.6362 MB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.3152, allocations: 173.1 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.3153, allocations: 88.14 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.3153, allocations: 75.28 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3154, allocations: 109.8 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3154, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.1e-05/0.3154, allocations: 41.53 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3155, allocations: 126.7 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3157, allocations: 164.3 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3157, allocations: 29.7 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.3158, allocations: 104 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.3158, allocations: 0 / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.3158, allocations: 13.72 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3159, allocations: 318.8 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.316, allocations: 7.984 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.316, allocations: 26.45 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.316, allocations: 30.58 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.316, allocations: 0 / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001158/0.3162, allocations: 57.53 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3162, allocations: 4 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3162, allocations: 4 kB / 0.9547 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3162, allocations: 4.031 kB / 0.9547 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.3163, allocations: 8.094 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3163, allocations: 3.938 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.3163, allocations: 11.84 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3163, allocations: 7.984 kB / 0.9548 GB, free: 3.984 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 0.0001055/0.3164, allocations: 193.1 kB / 0.9549 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.3165, allocations: 112.9 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.3166, allocations: 120.5 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-05/0.3166, allocations: 188.2 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.708e-05/0.3167, allocations: 176.3 kB / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.3168, allocations: 188.2 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.317, allocations: 425.2 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/0.3171, allocations: 104.9 kB / 0.9562 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.3171, allocations: 105 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-05/0.3172, allocations: 176.3 kB / 0.9565 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/0.3172, allocations: 188.1 kB / 0.9567 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.425e-05/0.3173, allocations: 180.4 kB / 0.9568 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-05/0.3174, allocations: 184.2 kB / 0.957 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.3175, allocations: 315.8 kB / 0.9573 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.3176, allocations: 190 kB / 0.9575 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.3177, allocations: 184.2 kB / 0.9577 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.3178, allocations: 104.9 kB / 0.9578 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.3178, allocations: 180.3 kB / 0.9579 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.3179, allocations: 105 kB / 0.958 GB, free: 424 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.833e-05/0.318, allocations: 138.2 kB / 0.9582 GB, free: 288 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.318, allocations: 0 / 0.9582 GB, free: 288 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002267/0.3182, allocations: 8 kB / 0.9582 GB, free: 280 kB / 0.7325 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.000138/0.3184, allocations: 170.5 kB / 0.9583 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.3184, allocations: 12 kB / 0.9583 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3184, allocations: 192 / 0.9583 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.3184, allocations: 4 kB / 0.9583 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3188, allocations: 463.6 kB / 0.9588 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.3192, allocations: 251.1 kB / 0.959 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3195, allocations: 0.7039 MB / 0.9597 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.3195, allocations: 7.438 kB / 0.9597 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.3195, allocations: 3.938 kB / 0.9597 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.001912/0.3214, allocations: 0.7967 MB / 0.9605 GB, free: 13.81 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 -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