Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_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_9_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.001351/0.001351, allocations: 112.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.001448/0.001449, allocations: 190.7 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.152/2.152, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7251, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002127/0.7272, allocations: 1.494 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.7278, allocations: 423.4 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.7278, allocations: 0.9062 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.7279, allocations: 8.906 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.7279, allocations: 11.08 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.728, allocations: 12.12 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.7281, allocations: 54.19 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.7282, allocations: 15.17 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.7283, allocations: 21.53 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.7284, allocations: 28.84 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.7284, allocations: 3.469 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.7284, allocations: 2.344 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.7284, allocations: 11.19 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.7285, allocations: 24.97 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.344e-05/0.7286, allocations: 43.72 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7286, allocations: 0.7031 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7286, allocations: 0.9375 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.7286, allocations: 4 kB / 1.091 GB, free: 4.066 MB / 0.8575 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.0003661/0.729, allocations: 359.4 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.729, allocations: 9.312 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.729, allocations: 8.266 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.7291, allocations: 172.5 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.7291, allocations: 6.125 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.7291, allocations: 2.5 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.7293, allocations: 66.7 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7293, allocations: 8.984 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7293, allocations: 4 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7293, allocations: 1.734 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.7295, allocations: 31.17 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.7297, allocations: 274.4 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.7299, allocations: 45.77 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.7299, allocations: 24.41 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.73, allocations: 3.938 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.007e-05/0.73, allocations: 31.91 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.73, allocations: 0 / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000288/0.7303, allocations: 86.06 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.219e-05/0.7303, allocations: 52.56 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.7304, allocations: 118.2 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.7304, allocations: 25.7 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.7304, allocations: 100.4 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.7304, allocations: 9.625 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.7305, allocations: 14.45 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.7305, allocations: 317.7 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.7306, allocations: 21.39 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.7306, allocations: 25.69 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.7308, allocations: 41.72 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7308, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001585/0.7309, allocations: 73.05 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.731, allocations: 5.344 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.731, allocations: 4 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.731, allocations: 1.609 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.7311, allocations: 9.297 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7311, allocations: 0 / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.7312, allocations: 9.531 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.7312, allocations: 1.922 kB / 1.093 GB, free: 2.285 MB / 0.8575 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 4.34e-05/0.7312, allocations: 116 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.7312, allocations: 4.078 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.7313, allocations: 14.34 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7313, allocations: 0 / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7313, allocations: 0.6562 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.7313, allocations: 84.27 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.7313, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.7314, allocations: 6.297 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.7315, allocations: 6.562 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002046/0.7317, allocations: 155.4 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001889/0.7319, allocations: 248 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.187e-05/0.7319, allocations: 20.2 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.732, allocations: 96.5 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/0.732, allocations: 0.7812 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.7323, allocations: 101.3 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000299/0.7326, allocations: 0.6105 MB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of Templates: time 0.002342/0.735, allocations: 0.6086 MB / 1.095 GB, free: 0.8555 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches