Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.01197/0.01197, allocations: 102 kB / 15.73 MB, free: 6.051 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.002301/0.002301, allocations: 196.5 kB / 16.68 MB, free: 5.965 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.289/2.289, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.892/3.892, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00349/0.003491, allocations: 63.91 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.178, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.003184/1.182, allocations: 0.6652 MB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001832/1.183, allocations: 0.8118 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/1.183, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/1.184, allocations: 7.938 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/1.184, allocations: 3.938 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/1.184, allocations: 7.984 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/1.184, allocations: 31.94 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/1.184, allocations: 7.969 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/1.184, allocations: 11.94 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/1.184, allocations: 11.98 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/1.184, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/1.184, allocations: 4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/1.184, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/1.184, allocations: 11.94 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/1.185, allocations: 23.89 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.185, allocations: 4 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.185, allocations: 0 / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.185, allocations: 0 / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007016/1.185, allocations: 335.2 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.185, allocations: 12.92 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/1.185, allocations: 30.75 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/1.185, allocations: 0.9375 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/1.186, allocations: 176.3 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.186, allocations: 384 / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/1.186, allocations: 8.312 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/1.186, allocations: 50.23 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.186, allocations: 3.938 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.186, allocations: 0 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.186, allocations: 0 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/1.186, allocations: 35.95 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/1.187, allocations: 253 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/1.187, allocations: 48.84 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/1.187, allocations: 20.91 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/1.188, allocations: 4 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.188, allocations: 34.5 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.013e-06/1.188, allocations: 4 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0006395/1.188, allocations: 81.64 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/1.188, allocations: 51.41 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/1.188, allocations: 101.8 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/1.189, allocations: 33.62 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/1.189, allocations: 80.14 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/1.189, allocations: 12.08 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/1.189, allocations: 13.72 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000245/1.189, allocations: 310.8 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/1.189, allocations: 19.98 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/1.189, allocations: 15.97 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/1.19, allocations: 40.89 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.19, allocations: 3.938 kB / 1.169 GB, free: 144 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003824/1.19, allocations: 69.61 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.19, allocations: 4 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.19, allocations: 0 / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.19, allocations: 3.938 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/1.19, allocations: 11.98 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.19, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/1.19, allocations: 8.031 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.19, allocations: 4 kB / 1.17 GB, free: 36 kB / 0.8887 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 (2): * Single equations (assignments): 2 * 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 0.0001777/1.191, allocations: 113.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/1.191, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/1.191, allocations: 68.78 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.191, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.191, allocations: 4.031 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.191, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/1.192, allocations: 157.6 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.192, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.192, allocations: 11.92 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.192, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.192, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.192, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.192, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/1.192, allocations: 159.5 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/1.192, allocations: 96.98 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/1.192, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/1.193, allocations: 4 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.193, allocations: 3.984 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/1.193, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.618e-05/1.193, allocations: 83.31 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/1.193, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004391/1.193, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.001097/1.194, allocations: 0.7007 MB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00038/1.195, allocations: 43.89 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.195, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/1.195, allocations: 15.98 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/1.195, allocations: 7.938 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/1.196, allocations: 139.7 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.197, allocations: 0.6768 MB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.491e-05/1.197, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/1.197, allocations: 7.438 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/1.197, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/1.234, allocations: 1.273 MB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.45, allocations: 1.625 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches