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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009139/0.0009139, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005041/0.005041, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 11.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5437, allocations: 142.4 MB / 0.9552 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0006756/0.5444, allocations: 396.1 kB / 0.9556 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006216/0.545, allocations: 0.808 MB / 0.9564 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.5451, allocations: 0 / 0.9564 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.5451, allocations: 5.078 kB / 0.9564 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.5451, allocations: 0 / 0.9564 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.5453, allocations: 10.03 kB / 0.9564 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.967e-05/0.5453, allocations: 16.67 kB / 0.9564 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.5454, allocations: 7.406 kB / 0.9564 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.5455, allocations: 7.344 kB / 0.9564 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.5455, allocations: 14.27 kB / 0.9564 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.5455, allocations: 4.969 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.5455, allocations: 1.062 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.5456, allocations: 1.5 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.5456, allocations: 38.64 kB / 0.9565 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.233e-05/0.5456, allocations: 24.19 kB / 0.9565 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5457, allocations: 0 / 0.9565 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5457, allocations: 1.156 kB / 0.9565 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.5457, allocations: 0 / 0.9565 GB, free: 6.734 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.0002999/0.546, allocations: 345.1 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.546, allocations: 9.938 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.203e-05/0.546, allocations: 31.81 kB / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.5461, allocations: 2.25 kB / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.019e-05/0.5461, allocations: 169.6 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.5461, allocations: 1.531 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.5462, allocations: 1.406 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5463, allocations: 54.59 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5463, allocations: 7.922 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.5463, allocations: 0 / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5463, allocations: 1.469 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5465, allocations: 47.34 kB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.5467, allocations: 245 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.5469, allocations: 48.41 kB / 0.9574 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.5469, allocations: 31.84 kB / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.547, allocations: 0 / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.547, allocations: 35.84 kB / 0.9575 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.547, allocations: 0 / 0.9575 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003151/0.5473, allocations: 98.95 kB / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.5473, allocations: 52.56 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/0.5474, allocations: 99.03 kB / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.5474, allocations: 29.7 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.5474, allocations: 85.67 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.5474, allocations: 7.844 kB / 0.9578 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.5475, allocations: 10.88 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.5475, allocations: 316 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.5476, allocations: 25.25 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.5477, allocations: 26.61 kB / 0.9582 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5478, allocations: 48.95 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5478, allocations: 5.375 kB / 0.9582 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.548, allocations: 78.59 kB / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.548, allocations: 4.094 kB / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.548, allocations: 0 / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.548, allocations: 1.969 kB / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.5481, allocations: 11.52 kB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5481, allocations: 4.031 kB / 0.9583 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.5482, allocations: 11.55 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.5482, allocations: 0 / 0.9583 GB, free: 4.871 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 4.069e-05/0.5482, allocations: 119.8 kB / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.5483, allocations: 0 / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.5485, allocations: 85.59 kB / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5485, allocations: 0 / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5485, allocations: 0 / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5485, allocations: 0 / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.892e-05/0.5486, allocations: 165.9 kB / 0.9587 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5486, allocations: 1.531 kB / 0.9587 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.5487, allocations: 11.25 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5487, allocations: 1.062 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5487, allocations: 3.984 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5487, allocations: 1.188 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5487, allocations: 0 / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.5489, allocations: 181.5 kB / 0.9589 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.5489, allocations: 77.11 kB / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.5489, allocations: 9.578 kB / 0.959 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.549, allocations: 6.188 kB / 0.959 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.549, allocations: 5.547 kB / 0.959 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.549, allocations: 0 / 0.959 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.828e-05/0.5491, allocations: 86.5 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5491, allocations: 0 / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002011/0.5493, allocations: 4.562 kB / 0.9591 GB, free: 4.125 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.000345/0.5496, allocations: 0.7041 MB / 0.9598 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.5498, allocations: 52.2 kB / 0.9598 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5498, allocations: 8.031 kB / 0.9598 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.5499, allocations: 22.8 kB / 0.9598 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.5501, allocations: 4.562 kB / 0.9598 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.5504, allocations: 135.4 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.5505, allocations: 0.6811 MB / 0.9606 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.5506, allocations: 1.375 kB / 0.9606 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.5506, allocations: 11.44 kB / 0.9606 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5506, allocations: 0 / 0.9606 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9783/1.529, allocations: 1.016 MB / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.529, allocations: 202.8 kB / 0.9618 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/3.045, allocations: 1.188 kB / 0.9618 GB, free: 1.801 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