Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.53/1.53, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.11 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3244, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003172/0.3276, allocations: 2.056 MB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.3329, allocations: 4.062 MB / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.333, allocations: 7.938 kB / 1.232 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.3339, allocations: 191.1 kB / 1.232 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3341, allocations: 71.41 kB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.3347, allocations: 259.4 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.3352, allocations: 378.9 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3354, allocations: 48.33 kB / 1.233 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3356, allocations: 115.6 kB / 1.233 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.3358, allocations: 131.4 kB / 1.233 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.3358, allocations: 16 kB / 1.233 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.3363, allocations: 311.4 kB / 1.233 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3364, allocations: 107.6 kB / 1.233 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3366, allocations: 143.1 kB / 1.233 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.3372, allocations: 0.5214 MB / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3372, allocations: 0 / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3372, allocations: 0 / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.3372, allocations: 0 / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00131/0.3385, allocations: 0.7563 MB / 1.235 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3386, allocations: 12.03 kB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.3387, allocations: 36.7 kB / 1.235 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.3392, allocations: 338.5 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3393, allocations: 4.375 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3393, allocations: 8.375 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.3398, allocations: 203.3 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3398, allocations: 0 / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3399, allocations: 7.984 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3399, allocations: 0 / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.3406, allocations: 243.8 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.3416, allocations: 0.5939 MB / 1.236 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.342, allocations: 174.5 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.3424, allocations: 132.8 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.3424, allocations: 23.98 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3425, allocations: 30.56 kB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3425, allocations: 0 / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001246/0.3437, allocations: 449.3 kB / 1.237 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3438, allocations: 59.41 kB / 1.237 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.3442, allocations: 417.5 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3442, allocations: 25.7 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3443, allocations: 184 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.3444, allocations: 35.69 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.3445, allocations: 41.7 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3446, allocations: 346.8 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.3451, allocations: 171.9 kB / 1.238 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.3455, allocations: 165.6 kB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/0.3463, allocations: 356.2 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3463, allocations: 0 / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001018/0.3473, allocations: 470.8 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.3474, allocations: 45.69 kB / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3474, allocations: 0 / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3474, allocations: 4 kB / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3477, allocations: 47.94 kB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3478, allocations: 3.938 kB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.348, allocations: 43.75 kB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.348, allocations: 15.91 kB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001498/0.3482, allocations: 154.3 kB / 1.239 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.3483, allocations: 35.77 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009234/0.3492, allocations: 340.6 kB / 1.24 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3492, allocations: 8 kB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3492, allocations: 0 / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3492, allocations: 3.938 kB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3497, allocations: 337.5 kB / 1.24 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3497, allocations: 3.984 kB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.35, allocations: 43.89 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.35, allocations: 4 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.35, allocations: 3.984 kB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.35, allocations: 0 / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.35, allocations: 7.938 kB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.3509, allocations: 423 kB / 1.24 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.351, allocations: 132.8 kB / 1.24 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.3511, allocations: 0 / 1.24 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3513, allocations: 23.97 kB / 1.24 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.3514, allocations: 19.91 kB / 1.24 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3514, allocations: 8 kB / 1.241 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000345/0.3518, allocations: 291.1 kB / 1.241 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3518, allocations: 4 kB / 1.241 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004436/0.3522, allocations: 119.8 kB / 1.241 GB, free: 9.117 MB / 0.9981 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 (11): * Single equations (assignments): 11 * 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.0003758/0.3526, allocations: 178.9 kB / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.3536, allocations: 0.4913 MB / 1.242 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3537, allocations: 0 / 1.242 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.3541, allocations: 139.8 kB / 1.242 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3546, allocations: 70.17 kB / 1.242 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3556, allocations: 0.6334 MB / 1.242 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.356, allocations: 0.7864 MB / 1.243 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.3562, allocations: 49.48 kB / 1.243 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.162e-05/0.3563, allocations: 23.42 kB / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of SimCode: time 1.703e-06/0.3563, allocations: 0 / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of Templates: time 0.00899/0.3653, allocations: 4.901 MB / 1.248 GB, free: 1.84 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches