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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001551, allocations: 108 kB / 15.61 MB, free: 152 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.002041/0.00204, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 68.41 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3358, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003132/0.339, allocations: 1.515 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.3398, allocations: 422.9 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.3399, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.3399, allocations: 7.938 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.34, allocations: 7.875 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3402, allocations: 23.95 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.3403, allocations: 55.73 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3405, allocations: 4 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3406, allocations: 27.92 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.3407, allocations: 19.91 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3407, allocations: 4 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.3407, allocations: 4 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.3408, allocations: 11.92 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3408, allocations: 23.86 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3409, allocations: 48.11 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3409, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3409, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3409, allocations: 0 / 1.055 GB, free: 6.098 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.0005205/0.3415, allocations: 355.3 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3415, allocations: 12.61 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.3416, allocations: 34.75 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.3416, allocations: 8.781 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3417, allocations: 172.3 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3418, allocations: 8.375 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3418, allocations: 4.375 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.342, allocations: 57.8 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.342, allocations: 0 / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.342, allocations: 4 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.342, allocations: 0 / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3421, allocations: 35.97 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.3426, allocations: 284.7 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3427, allocations: 38.56 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.3428, allocations: 20.94 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3428, allocations: 7.984 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3428, allocations: 38.56 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3429, allocations: 0 / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003385/0.3432, allocations: 85.59 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3432, allocations: 55.34 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.3433, allocations: 113.8 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3434, allocations: 25.7 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.3434, allocations: 96.03 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.3435, allocations: 11.91 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.3435, allocations: 13.72 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3436, allocations: 322.8 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3437, allocations: 19.98 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.3438, allocations: 11.98 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3439, allocations: 49.09 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3439, allocations: 4 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001732/0.3441, allocations: 73.52 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3441, allocations: 4 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3441, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3441, allocations: 4 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3443, allocations: 7.984 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3443, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.3443, allocations: 7.984 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.3444, allocations: 7.938 kB / 1.057 GB, free: 3.91 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 9.252e-05/0.3444, allocations: 117.8 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.3445, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.3445, allocations: 7.906 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3445, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3445, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3445, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3448, allocations: 177.6 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3448, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.3448, allocations: 11.98 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3449, allocations: 7.938 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3449, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3449, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3449, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.3451, allocations: 171.4 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.3452, allocations: 84.95 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.3452, allocations: 8 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.3453, allocations: 8 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3453, allocations: 3.984 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3453, allocations: 4 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.3454, allocations: 91.27 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.1e-07/0.3454, allocations: 0 / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002229/0.3456, allocations: 8 kB / 1.058 GB, free: 3.121 MB / 0.8106 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 (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 Backend phase and start with SimCode phase: time 0.0005428/0.3462, allocations: 0.7084 MB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3464, allocations: 43.97 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3464, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.3465, allocations: 23.92 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3467, allocations: 9.719 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.3473, allocations: 182 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3475, allocations: 0.6807 MB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.3476, allocations: 12.31 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3476, allocations: 19.42 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3476, allocations: 3.938 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.3647, allocations: 1.476 MB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.616, allocations: 11.11 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > 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