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.001153/0.001153, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001325/0.001325, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.448/1.448, allocations: 222.9 MB / 239.9 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.533/2.533, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001417, allocations: 71.91 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9065, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002383/0.909, allocations: 0.727 MB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.91, allocations: 0.8112 MB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.9101, allocations: 1.344 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.9101, allocations: 0 / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.9103, allocations: 0 / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.9104, allocations: 10.5 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.9105, allocations: 24.69 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.9107, allocations: 7.531 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.9108, allocations: 7.359 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.9108, allocations: 15.48 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.9108, allocations: 1.062 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.9108, allocations: 2.312 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.9109, allocations: 5.156 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.9109, allocations: 6.25 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.911, allocations: 31.98 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.911, allocations: 0 / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.537e-05/0.911, allocations: 0 / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.911, allocations: 3.938 kB / 0.9507 GB, free: 7.77 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.0004292/0.9115, allocations: 339.6 kB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.9115, allocations: 10.12 kB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.9116, allocations: 1.938 kB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.9117, allocations: 173.7 kB / 0.9512 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.9117, allocations: 1.281 kB / 0.9512 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.9117, allocations: 5.719 kB / 0.9512 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.9119, allocations: 49.36 kB / 0.9513 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9119, allocations: 4.172 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.912, allocations: 3.938 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.912, allocations: 1.344 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.9121, allocations: 30 kB / 0.9513 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.9125, allocations: 253.8 kB / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.9126, allocations: 37.97 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.9127, allocations: 19.19 kB / 0.9516 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.9127, allocations: 5.281 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.9128, allocations: 34.55 kB / 0.9517 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9128, allocations: 4 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.9131, allocations: 77.09 kB / 0.9517 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.9132, allocations: 56.86 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.9132, allocations: 97.77 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.9133, allocations: 26.98 kB / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.9133, allocations: 84.27 kB / 0.952 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.9133, allocations: 13.09 kB / 0.952 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.9134, allocations: 16.86 kB / 0.952 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.9134, allocations: 310.8 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.9135, allocations: 22.36 kB / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.9136, allocations: 12.45 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.9137, allocations: 47.66 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9137, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.9139, allocations: 69.61 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9139, allocations: 4.219 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9139, allocations: 3.984 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.914, allocations: 1.031 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.914, allocations: 6.469 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.9141, allocations: 4.031 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.9141, allocations: 7.234 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.9141, allocations: 1.25 kB / 0.9525 GB, free: 5.953 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.478e-05/0.9142, allocations: 111.1 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.9142, allocations: 5.312 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.9144, allocations: 74.53 kB / 0.9527 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9144, allocations: 8.016 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9145, allocations: 5.188 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9145, allocations: 0 / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.9146, allocations: 158.3 kB / 0.9528 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9146, allocations: 0 / 0.9528 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.9147, allocations: 13.64 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9147, allocations: 1.594 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.9147, allocations: 0 / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9147, allocations: 0 / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9147, allocations: 1.562 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.9149, allocations: 166 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.9149, allocations: 78.02 kB / 0.9531 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.915, allocations: 1.406 kB / 0.9531 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.9151, allocations: 11.86 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.9151, allocations: 1 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.9151, allocations: 4.031 kB / 0.9531 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.727e-05/0.9151, allocations: 83.94 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9152, allocations: 0 / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002162/0.9154, allocations: 6.672 kB / 0.9532 GB, free: 5.211 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.0001386/0.9155, allocations: 98.25 kB / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.9157, allocations: 33.38 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9157, allocations: 8 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.9158, allocations: 23.06 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.9162, allocations: 6.812 kB / 0.9534 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.9165, allocations: 108.4 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.9166, allocations: 0.677 MB / 0.9541 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.9166, allocations: 9.531 kB / 0.9541 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.9167, allocations: 9.188 kB / 0.9541 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9167, allocations: 0 / 0.9541 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.00266/0.9193, allocations: 385.6 kB / 0.9545 GB, free: 4.059 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