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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009433/0.0009432, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.009068/0.009069, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.556/1.556, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.65/2.65, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 16.28 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9139/0.9143, allocations: 142.4 MB / 0.9551 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.00103/0.9154, allocations: 393.2 kB / 0.9554 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009517/0.9164, allocations: 0.8075 MB / 0.9562 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.9164, allocations: 1.469 kB / 0.9562 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.9165, allocations: 4 kB / 0.9562 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.9165, allocations: 0 / 0.9562 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.9167, allocations: 13.39 kB / 0.9562 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.9168, allocations: 13.97 kB / 0.9563 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.9169, allocations: 14.84 kB / 0.9563 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.917, allocations: 2.625 kB / 0.9563 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.9171, allocations: 15.3 kB / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.9171, allocations: 1.188 kB / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.9171, allocations: 0 / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.9171, allocations: 5 kB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.9172, allocations: 31.8 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.9173, allocations: 27.23 kB / 0.9564 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9173, allocations: 1 kB / 0.9564 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9173, allocations: 0 / 0.9564 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.9173, allocations: 0 / 0.9564 GB, free: 6.762 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.0004557/0.9178, allocations: 341.4 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.9178, allocations: 14.03 kB / 0.9567 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.9179, allocations: 1.656 kB / 0.9567 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.918, allocations: 165.8 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.918, allocations: 1.906 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.918, allocations: 1.344 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.9182, allocations: 54.58 kB / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9182, allocations: 192 / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9182, allocations: 5.281 kB / 0.9569 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9183, allocations: 4 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.9185, allocations: 48.58 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.9188, allocations: 244.1 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.9189, allocations: 51.59 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.919, allocations: 31.8 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.9191, allocations: 1.406 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.9191, allocations: 34.56 kB / 0.9573 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9191, allocations: 0.9375 kB / 0.9573 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004021/0.9195, allocations: 103.2 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.9196, allocations: 51.41 kB / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.9196, allocations: 95.08 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.9197, allocations: 26.83 kB / 0.9576 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.9197, allocations: 88.12 kB / 0.9577 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.9197, allocations: 9.156 kB / 0.9577 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.9198, allocations: 10.81 kB / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.9198, allocations: 312.2 kB / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.634e-05/0.9199, allocations: 25.23 kB / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.92, allocations: 21.98 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.9202, allocations: 58.22 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9202, allocations: 3.938 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.9204, allocations: 82.56 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9204, allocations: 4.906 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9204, allocations: 0 / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9204, allocations: 1.062 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.9205, allocations: 7.75 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9205, allocations: 5.109 kB / 0.9582 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.9206, allocations: 5.875 kB / 0.9582 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.9206, allocations: 1.219 kB / 0.9582 GB, free: 4.941 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 7.064e-05/0.9207, allocations: 114.9 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.9207, allocations: 1.406 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.921, allocations: 88.14 kB / 0.9584 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.921, allocations: 9.453 kB / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.921, allocations: 0 / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.921, allocations: 0 / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.9211, allocations: 161.9 kB / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9211, allocations: 0 / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.9212, allocations: 12.67 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9212, allocations: 1.906 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.9212, allocations: 0 / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9212, allocations: 0 / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.9212, allocations: 0 / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.9215, allocations: 181.6 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.9215, allocations: 77.11 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9215, allocations: 1.812 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.9216, allocations: 17.36 kB / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.9216, allocations: 5.719 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.9217, allocations: 0 / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.9217, allocations: 86.89 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9217, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002104/0.9219, allocations: 4.031 kB / 0.9589 GB, free: 4.191 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.000142/0.922, allocations: 100.9 kB / 0.959 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.9223, allocations: 42.78 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9223, allocations: 0.9062 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/0.9224, allocations: 36.12 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.9227, allocations: 10.31 kB / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.923, allocations: 108.4 kB / 0.9592 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.9231, allocations: 0.672 MB / 0.9599 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.9232, allocations: 1.344 kB / 0.9599 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.9232, allocations: 12.84 kB / 0.9599 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.9232, allocations: 0 / 0.9599 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of Templates: time 0.002587/0.9258, allocations: 356.4 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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