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: 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.001366/0.001366, allocations: 103 kB / 15.06 MB, free: 1.098 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.001421/0.001421, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.308/2.308, allocations: 390.2 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003123, allocations: 12 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6161, allocations: 142.3 MB / 0.9535 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0006951/0.6168, allocations: 383 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.6176, allocations: 0.8104 MB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.6176, allocations: 0.6875 kB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.6176, allocations: 5 kB / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.6177, allocations: 0 / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.6178, allocations: 10.98 kB / 0.9547 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.6179, allocations: 11.05 kB / 0.9547 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.618, allocations: 3.312 kB / 0.9547 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.618, allocations: 10.8 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.6181, allocations: 10.73 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.6181, allocations: 0.9062 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.6181, allocations: 1.281 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.6181, allocations: 9.219 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.6181, allocations: 26.86 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.989e-05/0.6182, allocations: 23.05 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.6182, allocations: 0 / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6182, allocations: 0 / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6182, allocations: 0 / 0.9548 GB, free: 7.113 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.0003248/0.6185, allocations: 334.1 kB / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6186, allocations: 9.188 kB / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.6186, allocations: 13.17 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.937e-05/0.6187, allocations: 164.4 kB / 0.9553 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.6187, allocations: 1.062 kB / 0.9553 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.6187, allocations: 5.297 kB / 0.9553 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.6189, allocations: 53.27 kB / 0.9553 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.6189, allocations: 3.938 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.6189, allocations: 1.312 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.6189, allocations: 4 kB / 0.9554 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.6191, allocations: 48.28 kB / 0.9554 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.6194, allocations: 244.4 kB / 0.9556 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6195, allocations: 47.77 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.6195, allocations: 1.594 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.6196, allocations: 34.5 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6196, allocations: 1.094 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003419/0.6199, allocations: 107 kB / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.6199, allocations: 51.41 kB / 0.9559 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.62, allocations: 95.05 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.62, allocations: 29.83 kB / 0.956 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.62, allocations: 89.81 kB / 0.9561 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.6201, allocations: 9.281 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.6201, allocations: 0 / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.6201, allocations: 310.8 kB / 0.9564 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.6202, allocations: 22.42 kB / 0.9564 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.6203, allocations: 26.52 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.6204, allocations: 29.84 kB / 0.9565 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6204, allocations: 0 / 0.9565 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.6206, allocations: 74.58 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6206, allocations: 6 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6206, allocations: 0 / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6206, allocations: 0.9375 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.6207, allocations: 12.89 kB / 0.9565 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6207, allocations: 3.953 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.6208, allocations: 13.77 kB / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.6208, allocations: 1 kB / 0.9566 GB, free: 5.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.6208, allocations: 112 kB / 0.9567 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.6209, allocations: 1.188 kB / 0.9567 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.6211, allocations: 83.84 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6211, allocations: 1.312 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6211, allocations: 0 / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6211, allocations: 7.938 kB / 0.9568 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.6212, allocations: 154.2 kB / 0.9569 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6212, allocations: 0 / 0.9569 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.6213, allocations: 12.67 kB / 0.9569 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6213, allocations: 1.031 kB / 0.9569 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6213, allocations: 8 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6213, allocations: 5.062 kB / 0.9569 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6213, allocations: 0 / 0.9569 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.6216, allocations: 180.9 kB / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.6216, allocations: 77.11 kB / 0.9572 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6216, allocations: 1.094 kB / 0.9572 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.6217, allocations: 10.14 kB / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.6218, allocations: 4.969 kB / 0.9572 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.6218, allocations: 5.062 kB / 0.9572 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.6218, allocations: 82.55 kB / 0.9573 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6218, allocations: 0 / 0.9573 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002181/0.622, allocations: 7.969 kB / 0.9573 GB, free: 4.598 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.6222, allocations: 106.1 kB / 0.9574 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.6224, allocations: 42.03 kB / 0.9574 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6224, allocations: 4.062 kB / 0.9574 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.6225, allocations: 29.3 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.6227, allocations: 8.25 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.6229, allocations: 99.75 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.623, allocations: 0.6826 MB / 0.9582 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.6231, allocations: 7.922 kB / 0.9582 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.6231, allocations: 8.5 kB / 0.9582 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6231, allocations: 0 / 0.9582 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of Templates: time 0.002148/0.6252, allocations: 348 kB / 0.9586 GB, free: 3.461 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches