Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_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.006743/0.006743, allocations: 101 kB / 15.73 MB, free: 6.059 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.001713/0.001713, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 75.81 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7569, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001872/0.7588, allocations: 0.6751 MB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.7599, allocations: 0.8078 MB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.7599, allocations: 4 kB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.7599, allocations: 0 / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.76, allocations: 3.938 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.7602, allocations: 7.984 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.65e-05/0.7602, allocations: 27.92 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.7603, allocations: 4 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.7604, allocations: 15.92 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.7605, allocations: 11.98 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.7605, allocations: 4 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.7605, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.7605, allocations: 7.922 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.7605, allocations: 8 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.7606, allocations: 19.91 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7606, allocations: 0 / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7606, allocations: 0 / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7607, allocations: 0 / 1.222 GB, free: 416 kB / 0.9356 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.0004634/0.7611, allocations: 343.1 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7612, allocations: 12.03 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.7612, allocations: 30.75 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.7613, allocations: 4.891 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.7614, allocations: 172.3 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.7614, allocations: 4.375 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.7614, allocations: 384 / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.7616, allocations: 54.23 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7616, allocations: 3.938 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7616, allocations: 3.984 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7617, allocations: 3.938 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.7618, allocations: 31.97 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.7622, allocations: 252.9 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.7623, allocations: 42.5 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.7624, allocations: 20.91 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.7624, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7625, allocations: 34.56 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7625, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.7628, allocations: 85.58 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.7629, allocations: 51.41 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.763, allocations: 101.8 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.763, allocations: 25.7 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.7631, allocations: 88.09 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.7631, allocations: 11.94 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.7631, allocations: 9.719 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7633, allocations: 326.9 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.7634, allocations: 15.98 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.7634, allocations: 11.98 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.7636, allocations: 40.81 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.7636, allocations: 3.938 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/0.7638, allocations: 73.67 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7639, allocations: 4 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7639, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7639, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.764, allocations: 11.98 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.764, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.7641, allocations: 7.984 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.7641, allocations: 4.031 kB / 1.224 GB, free: 14.32 MB / 0.9512 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 7.571e-05/0.7642, allocations: 109.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.7642, allocations: 8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.7644, allocations: 72.72 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7644, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7644, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7645, allocations: 4 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.7646, allocations: 165.6 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7646, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.7647, allocations: 11.92 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7647, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7647, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.7647, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7647, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.765, allocations: 171.4 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.7651, allocations: 81.05 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.7651, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.7652, allocations: 7.984 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.7652, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.7652, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.7653, allocations: 83.28 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7653, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002161/0.7655, allocations: 4.031 kB / 1.224 GB, free: 13.52 MB / 0.9512 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.0005889/0.7661, allocations: 0.7012 MB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.7663, allocations: 39.94 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7663, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.7664, allocations: 15.98 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.7667, allocations: 15.92 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.7671, allocations: 139.6 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.7674, allocations: 0.6769 MB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.7675, allocations: 7.906 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.7675, allocations: 7.438 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7675, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.79, allocations: 1.268 MB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.58, allocations: 11.59 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches