Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00135/0.00135, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 67.89 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7587, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002685/0.7614, allocations: 1.5 MB / 1.222 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.7621, allocations: 411 kB / 1.223 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.7622, allocations: 0 / 1.223 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.7622, allocations: 3.938 kB / 1.223 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.7623, allocations: 15.88 kB / 1.223 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.7624, allocations: 19.91 kB / 1.223 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.7625, allocations: 51.78 kB / 1.223 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.7626, allocations: 15.98 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.7627, allocations: 23.86 kB / 1.223 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.7628, allocations: 19.92 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.7628, allocations: 4 kB / 1.223 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.7629, allocations: 4 kB / 1.223 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.7629, allocations: 11.94 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.7629, allocations: 19.91 kB / 1.223 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.7631, allocations: 47.83 kB / 1.223 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7631, allocations: 0 / 1.223 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7631, allocations: 0 / 1.223 GB, free: 192 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.7631, allocations: 0 / 1.223 GB, free: 192 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005225/0.7636, allocations: 361 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.7637, allocations: 8.625 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.7637, allocations: 8.844 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.7639, allocations: 172.2 kB / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.7639, allocations: 4.375 kB / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.7639, allocations: 8.312 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.7641, allocations: 65.92 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7641, allocations: 0 / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.7641, allocations: 0 / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.7641, allocations: 3.984 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.7643, allocations: 31.98 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.7647, allocations: 280.8 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.7648, allocations: 50.48 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/0.7649, allocations: 24.94 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.7649, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.7649, allocations: 34.56 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7649, allocations: 0 / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003006/0.7652, allocations: 93.55 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.7653, allocations: 51.41 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.7654, allocations: 121.8 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.7654, allocations: 29.7 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.7654, allocations: 84.14 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.7655, allocations: 15.84 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.7655, allocations: 17.7 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.7656, allocations: 322.8 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.7657, allocations: 15.98 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.7657, allocations: 11.98 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.7659, allocations: 48.77 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7659, allocations: 4 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001635/0.766, allocations: 69.58 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.7661, allocations: 4 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7661, allocations: 3.984 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7661, allocations: 4 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.7662, allocations: 4 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7662, allocations: 3.938 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.7663, allocations: 7.984 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.7663, allocations: 8 kB / 1.225 GB, free: 14.04 MB / 0.9512 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 (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 7.197e-05/0.7664, allocations: 114.3 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.7664, allocations: 7.906 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.7664, allocations: 7.906 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7664, allocations: 3.984 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7664, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.7665, allocations: 81.11 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.7665, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.7666, allocations: 7.938 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.7666, allocations: 11.92 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002313/0.7669, allocations: 148.9 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002312/0.7671, allocations: 250.6 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.726e-05/0.7672, allocations: 23.98 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.7673, allocations: 91.27 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of Backend: time 2.4e-07/0.7673, allocations: 0 / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.7677, allocations: 98.81 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004839/0.7682, allocations: 0.6143 MB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.002637/0.7708, allocations: 0.617 MB / 1.227 GB, free: 11.87 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches