Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001035/0.001035, 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.001011/0.001011, allocations: 197 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6647 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 67.89 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5566, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001889/0.5586, allocations: 0.6653 MB / 0.9504 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.5593, allocations: 0.8039 MB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.5594, allocations: 1.062 kB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.5594, allocations: 3.938 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.5595, allocations: 4.922 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.5596, allocations: 18.33 kB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.5597, allocations: 21.11 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5598, allocations: 3.062 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.5599, allocations: 14.55 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.5599, allocations: 12 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.5599, allocations: 1.625 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.56, allocations: 1.375 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.56, allocations: 1.625 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.56, allocations: 17.22 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.5601, allocations: 24.19 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5601, allocations: 0 / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5601, allocations: 1.281 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.5601, allocations: 0 / 0.9513 GB, free: 7.922 MB / 0.7169 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.0003997/0.5605, allocations: 339 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5606, allocations: 9.312 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.5606, allocations: 30.75 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.5606, allocations: 2.281 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.829e-05/0.5607, allocations: 175.2 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.5607, allocations: 4.375 kB / 0.9518 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.5607, allocations: 1.656 kB / 0.9518 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.5609, allocations: 44.84 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5609, allocations: 4.969 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5609, allocations: 3.984 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5609, allocations: 5.156 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.5611, allocations: 30.28 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.5613, allocations: 245.3 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.5614, allocations: 46.81 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.5615, allocations: 19.03 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5615, allocations: 0 / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.5616, allocations: 43.78 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.5616, allocations: 0 / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003188/0.5619, allocations: 76.45 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.5619, allocations: 52.66 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.562, allocations: 106.5 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.562, allocations: 25.7 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.562, allocations: 86.17 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.562, allocations: 11.84 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.5621, allocations: 16.16 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.5621, allocations: 320.1 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.5622, allocations: 16.86 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.5623, allocations: 13.23 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5624, allocations: 43.7 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5624, allocations: 3.938 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.5626, allocations: 68.28 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5626, allocations: 5.125 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5626, allocations: 1.062 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5626, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.5627, allocations: 14.23 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5627, allocations: 1.219 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.5628, allocations: 7.234 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.5628, allocations: 5.375 kB / 0.9531 GB, free: 6.055 MB / 0.7169 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 5.2e-05/0.5629, allocations: 111.2 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.5629, allocations: 5.719 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.5631, allocations: 77.47 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5631, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5631, allocations: 1.594 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5631, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.5632, allocations: 162.3 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5632, allocations: 0 / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.5633, allocations: 5.938 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5633, allocations: 3.984 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.5633, allocations: 1.438 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5633, allocations: 0 / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5633, allocations: 4.031 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.5635, allocations: 167.4 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.5635, allocations: 78.52 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.5635, allocations: 0 / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.5636, allocations: 7.641 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.5636, allocations: 9.281 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.5637, allocations: 1.125 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.5637, allocations: 82.75 kB / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5637, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002041/0.5639, allocations: 3.656 kB / 0.9538 GB, free: 5.32 MB / 0.7169 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.0003684/0.5643, allocations: 0.7034 MB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.5645, allocations: 36.55 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5645, allocations: 1.156 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.5646, allocations: 19.2 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.5648, allocations: 10.73 kB / 0.9545 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.5652, allocations: 136.6 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.5653, allocations: 0.6755 MB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.5653, allocations: 1.312 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.5653, allocations: 20.48 kB / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5653, allocations: 0 / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5449/1.11, allocations: 1.236 MB / 0.9565 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.64, allocations: 11.94 kB / 0.9566 GB, free: 3.008 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches