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.006381/0.006386, allocations: 103 kB / 15.88 MB, free: 6.328 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.001515/0.001515, allocations: 199.7 kB / 16.79 MB, free: 6.254 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.314/2.314, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 71.83 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6429, allocations: 140.4 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001797/0.6447, allocations: 0.7283 MB / 0.9503 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.6455, allocations: 0.8058 MB / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.6455, allocations: 0 / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.6455, allocations: 3.938 kB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.6456, allocations: 4 kB / 0.9511 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.6457, allocations: 10.11 kB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.39e-05/0.6458, allocations: 21.12 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.6459, allocations: 6.609 kB / 0.9511 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.646, allocations: 11.44 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.646, allocations: 6.516 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.646, allocations: 1.156 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.646, allocations: 5.344 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.6461, allocations: 13.2 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.6461, allocations: 6.375 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.324e-05/0.6462, allocations: 15.03 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6462, allocations: 0 / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6462, allocations: 3.938 kB / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6462, allocations: 0 / 0.9512 GB, free: 7.801 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.0003653/0.6465, allocations: 338.9 kB / 0.9515 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6466, allocations: 9.719 kB / 0.9515 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.6466, allocations: 2.312 kB / 0.9515 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.63e-05/0.6467, allocations: 169.7 kB / 0.9517 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.6467, allocations: 9.719 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.6467, allocations: 384 / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.6469, allocations: 50.86 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6469, allocations: 192 / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6469, allocations: 3.938 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6469, allocations: 0 / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.6471, allocations: 31.09 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.6474, allocations: 253.2 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.6475, allocations: 42.59 kB / 0.9521 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.6476, allocations: 23.38 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.6476, allocations: 0 / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.6476, allocations: 40.3 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.6476, allocations: 0 / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003359/0.648, allocations: 76.59 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.648, allocations: 55.34 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.6481, allocations: 102.9 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.6481, allocations: 25.7 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.6481, allocations: 85.27 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.6481, allocations: 9.594 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.6482, allocations: 20.58 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.6482, allocations: 310.8 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.6483, allocations: 14.05 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.6484, allocations: 16.61 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.6485, allocations: 43.94 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6486, allocations: 0 / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.6487, allocations: 64.98 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6488, allocations: 8.062 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.6488, allocations: 1.375 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6488, allocations: 3.984 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6489, allocations: 9.531 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6489, allocations: 5.312 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.6489, allocations: 10.67 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.649, allocations: 1.375 kB / 0.953 GB, free: 5.98 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.167e-05/0.649, allocations: 115.2 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.649, allocations: 5.281 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.6493, allocations: 74.78 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6493, allocations: 192 / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6493, allocations: 5.359 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6493, allocations: 3.984 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.6494, allocations: 157.7 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6494, allocations: 0 / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.6495, allocations: 14.8 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6495, allocations: 0 / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6495, allocations: 1.375 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6495, allocations: 0 / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6495, allocations: 4.031 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.6497, allocations: 158.8 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.6497, allocations: 78.48 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.6497, allocations: 1.375 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.6498, allocations: 10.73 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.6499, allocations: 5.406 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.6499, allocations: 5.375 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.111e-05/0.6499, allocations: 82.02 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6499, allocations: 0 / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002107/0.6501, allocations: 4.125 kB / 0.9537 GB, free: 5.242 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.0001057/0.6502, allocations: 97.12 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.6504, allocations: 41.91 kB / 0.9538 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6505, allocations: 4 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.6505, allocations: 19.56 kB / 0.9538 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.6508, allocations: 9.016 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.6511, allocations: 132 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.6512, allocations: 0.6741 MB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.6513, allocations: 21.14 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6513, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.001743/0.653, allocations: 0.5293 MB / 0.9551 GB, free: 3.996 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/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