Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 104.2 kB / 19.71 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 214.7 kB / 23 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 75.55 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 176.1 MB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002899/0.3434, allocations: 1.533 MB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.3444, allocations: 466.9 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.3444, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3445, allocations: 3.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.3445, allocations: 15.86 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3447, allocations: 35.89 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3449, allocations: 59.73 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.345, allocations: 11.97 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3451, allocations: 31.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.3452, allocations: 19.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3452, allocations: 7.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.3452, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.3453, allocations: 7.984 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3453, allocations: 23.86 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.3454, allocations: 63.69 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3454, allocations: 3.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3454, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3454, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 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.0005168/0.346, allocations: 286.1 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.346, allocations: 8.031 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.3462, allocations: 28.86 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.3465, allocations: 134.4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.3465, allocations: 384 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3465, allocations: 4.359 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3467, allocations: 61.98 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3467, allocations: 3.938 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3467, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3467, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3468, allocations: 39.91 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3472, allocations: 208.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3473, allocations: 46.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.3474, allocations: 20.94 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3474, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3474, allocations: 38.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3474, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003327/0.3478, allocations: 85.61 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3478, allocations: 55.39 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3479, allocations: 125.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3479, allocations: 29.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.348, allocations: 92.12 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.348, allocations: 11.84 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3481, allocations: 17.72 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3482, allocations: 322.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.3483, allocations: 15.98 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.3484, allocations: 19.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3485, allocations: 48.77 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3485, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001963/0.3487, allocations: 69.61 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3487, allocations: 8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3487, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3488, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3489, allocations: 11.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3489, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.3489, allocations: 7.953 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3489, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 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 8.811e-05/0.349, allocations: 118.3 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.349, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.3491, allocations: 8 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3491, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3491, allocations: 3.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.3491, allocations: 3.953 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3491, allocations: 8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.3492, allocations: 4.312 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.3492, allocations: 11.94 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002523/0.3495, allocations: 148.9 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000276/0.3498, allocations: 246.7 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.807e-05/0.3499, allocations: 19.98 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.3499, allocations: 107.2 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3499, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.3503, allocations: 98.39 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005748/0.3509, allocations: 0.6194 MB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of Templates: time 0.003425/0.3543, allocations: 0.7383 MB / 1.333 GB, free: 10.62 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.5599685230045]