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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.00167/0.00167, allocations: 107.3 kB / 16.37 MB, free: 6.316 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.001835/0.001835, allocations: 186.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.166/2.166, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.08 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002441/0.284, allocations: 1.525 MB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005634/0.2845, allocations: 418.9 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.2846, allocations: 0 / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.2846, allocations: 3.938 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.2847, allocations: 19.84 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2849, allocations: 11.98 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.285, allocations: 55.72 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.2851, allocations: 12.05 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.2852, allocations: 23.86 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.2852, allocations: 23.91 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2853, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.2853, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2853, allocations: 11.92 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2853, allocations: 23.88 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.2854, allocations: 43.88 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2854, allocations: 4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2855, allocations: 3.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.2855, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 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.0004373/0.2859, allocations: 359.2 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2859, allocations: 8.031 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.286, allocations: 8.844 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2861, allocations: 176.4 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.2861, allocations: 384 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2861, allocations: 8.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2863, allocations: 57.92 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2863, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2863, allocations: 4 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2863, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2864, allocations: 31.97 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.2868, allocations: 280.8 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.2869, allocations: 42.56 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.287, allocations: 28.88 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.287, allocations: 0 / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.287, allocations: 30.56 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.287, allocations: 3.938 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002859/0.2873, allocations: 89.64 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.2874, allocations: 51.41 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.2874, allocations: 117.8 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2875, allocations: 25.7 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.2875, allocations: 92.05 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2875, allocations: 11.89 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.2876, allocations: 13.72 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2877, allocations: 322.8 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.2877, allocations: 15.94 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.2878, allocations: 19.98 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.2879, allocations: 44.8 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2879, allocations: 3.938 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001627/0.2881, allocations: 81.56 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2881, allocations: 8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2881, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2882, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.2882, allocations: 11.98 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2883, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.2883, allocations: 8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2883, allocations: 3.938 kB / 1.031 GB, free: 13.7 MB / 0.8106 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.482e-05/0.2884, allocations: 109.8 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2884, allocations: 11.98 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2885, allocations: 7.906 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2885, allocations: 4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2885, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.2886, allocations: 81.02 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2886, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2887, allocations: 7.984 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2888, allocations: 3.938 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002895/0.2891, allocations: 156.9 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002753/0.2893, allocations: 246.6 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.591e-05/0.2894, allocations: 15.98 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.2895, allocations: 95.27 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of Backend: time 3.11e-07/0.2895, allocations: 0 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.29, allocations: 102.4 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0005052/0.2905, allocations: 0.6027 MB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.002586/0.2931, allocations: 0.6164 MB / 1.033 GB, free: 11.56 MB / 0.8106 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