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.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001983/0.001983, allocations: 195 kB / 16.14 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.656/1.656, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.605/2.605, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8929/0.8944, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002356/0.8968, allocations: 0.724 MB / 0.9496 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.8979, allocations: 0.8128 MB / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.8979, allocations: 0 / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.898, allocations: 0 / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.8981, allocations: 1.469 kB / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.8983, allocations: 13.55 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.8984, allocations: 21.58 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.8985, allocations: 2.031 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.8986, allocations: 7.281 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.8986, allocations: 15.08 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.8987, allocations: 1.469 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.8987, allocations: 1.688 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.8987, allocations: 11.92 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.8987, allocations: 10.42 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.8988, allocations: 19.91 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.8989, allocations: 0 / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8989, allocations: 0 / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8989, allocations: 1.531 kB / 0.9505 GB, free: 7.898 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.0005656/0.8994, allocations: 341.2 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.8995, allocations: 10.22 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.8996, allocations: 2.25 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.8997, allocations: 165.4 kB / 0.951 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.8997, allocations: 2.062 kB / 0.951 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.8997, allocations: 384 / 0.951 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.8999, allocations: 49.64 kB / 0.9511 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8999, allocations: 1.719 kB / 0.9511 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.9, allocations: 3.938 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.9, allocations: 7.984 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.9002, allocations: 37.98 kB / 0.9511 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.9006, allocations: 245.2 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.9007, allocations: 38.86 kB / 0.9514 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.9008, allocations: 27.84 kB / 0.9514 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.9008, allocations: 0 / 0.9514 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.9009, allocations: 31.94 kB / 0.9515 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.9009, allocations: 0 / 0.9515 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.9013, allocations: 83.83 kB / 0.9515 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.9013, allocations: 56.91 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.9014, allocations: 99.36 kB / 0.9517 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.9014, allocations: 33.62 kB / 0.9517 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.9014, allocations: 81.52 kB / 0.9518 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.9015, allocations: 7.844 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.9015, allocations: 16.47 kB / 0.9518 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.9016, allocations: 312.2 kB / 0.9521 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.9017, allocations: 24.17 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.9017, allocations: 21.59 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.9019, allocations: 40.02 kB / 0.9522 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9019, allocations: 0 / 0.9522 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.9021, allocations: 73.03 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9021, allocations: 4.125 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9021, allocations: 1.375 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9021, allocations: 0 / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.9022, allocations: 9.484 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9022, allocations: 1.375 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.9023, allocations: 2.75 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.9023, allocations: 5.375 kB / 0.9523 GB, free: 6.078 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.587e-05/0.9024, allocations: 115.1 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.9024, allocations: 9.312 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.9026, allocations: 74.72 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.9027, allocations: 0 / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9027, allocations: 1.375 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9027, allocations: 0 / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.9028, allocations: 161.7 kB / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9028, allocations: 0 / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.9029, allocations: 14.89 kB / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9029, allocations: 0 / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.9029, allocations: 1.375 kB / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9029, allocations: 0 / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9029, allocations: 0 / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.9031, allocations: 163.5 kB / 0.9528 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.9031, allocations: 85.12 kB / 0.9529 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.9032, allocations: 5.406 kB / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.9032, allocations: 3.281 kB / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.9033, allocations: 5.734 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.9033, allocations: 1.094 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.9033, allocations: 77.78 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9033, allocations: 1.438 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000229/0.9036, allocations: 3.156 kB / 0.953 GB, free: 5.344 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.0001791/0.9037, allocations: 100.8 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.904, allocations: 41.73 kB / 0.9531 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.904, allocations: 3.938 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.9041, allocations: 24.14 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.9044, allocations: 6.781 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.9047, allocations: 110 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.9048, allocations: 0.6772 MB / 0.9539 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.9048, allocations: 1.281 kB / 0.9539 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.9049, allocations: 7.438 kB / 0.9539 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.9049, allocations: 1.656 kB / 0.9539 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002411/0.9073, allocations: 370.9 kB / 0.9543 GB, free: 4.195 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