Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_10_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.005263/0.005263, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001101/0.001101, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.866/2.866, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002983/0.3435, allocations: 1.514 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.3443, allocations: 407.1 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.3443, allocations: 4 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.3444, allocations: 11.92 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.3445, allocations: 11.86 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.3447, allocations: 15.98 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.3448, allocations: 51.78 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.3449, allocations: 8 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.345, allocations: 19.92 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.588e-05/0.3451, allocations: 31.83 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3451, allocations: 8 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.3451, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.3452, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.3452, allocations: 27.86 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.3453, allocations: 42.64 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3453, allocations: 3.938 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3454, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3454, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 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.0005023/0.3459, allocations: 356.2 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3459, allocations: 16.02 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.346, allocations: 34.75 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.346, allocations: 8.844 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3461, allocations: 180.2 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3462, allocations: 4.375 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3462, allocations: 384 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3464, allocations: 57.8 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3464, allocations: 0 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3464, allocations: 4 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3464, allocations: 4 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3465, allocations: 35.91 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.3469, allocations: 268.9 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.3471, allocations: 42.56 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.3471, allocations: 24.94 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3472, allocations: 11.97 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3472, allocations: 34.5 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3472, allocations: 0 / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003072/0.3475, allocations: 85.56 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3476, allocations: 59.34 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.3477, allocations: 113.8 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3477, allocations: 29.7 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3477, allocations: 96.06 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.3478, allocations: 3.906 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3478, allocations: 17.72 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.3479, allocations: 318.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.348, allocations: 23.98 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.348, allocations: 15.98 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3482, allocations: 48.77 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3482, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001568/0.3483, allocations: 65.58 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3484, allocations: 4 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3484, allocations: 3.984 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3484, allocations: 4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.3485, allocations: 11.98 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3485, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3486, allocations: 7.984 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3486, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 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.878e-05/0.3487, allocations: 117.7 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3487, allocations: 7.906 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.3487, allocations: 7.906 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3487, allocations: 3.938 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3487, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3487, allocations: 4 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3489, allocations: 177.6 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3489, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.349, allocations: 7.984 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.349, allocations: 4 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.349, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.349, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.349, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3493, allocations: 175.5 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.3493, allocations: 84.95 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3493, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.3494, allocations: 4 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3495, allocations: 3.984 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3495, allocations: 4.375 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.3495, allocations: 95.2 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3495, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002229/0.3498, allocations: 16 kB / 1.171 GB, free: 2.145 MB / 0.92 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.0004494/0.3502, allocations: 0.7006 MB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.3504, allocations: 39.97 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3504, allocations: 7.938 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.3505, allocations: 23.92 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.3507, allocations: 4 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.3512, allocations: 197.8 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3514, allocations: 0.6846 MB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.3514, allocations: 4 kB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.3515, allocations: 15.42 kB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of SimCode: time 1.392e-06/0.3515, allocations: 0 / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.369, allocations: 1.506 MB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.957, allocations: 9.578 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches