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.001499/0.001499, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001326/0.001326, allocations: 191.9 kB / 17.3 MB, free: 5.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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 64.72 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3441, allocations: 140.4 MB / 0.9512 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.00229/0.3464, allocations: 0.6597 MB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3475, allocations: 0.8139 MB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.3476, allocations: 0 / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.3476, allocations: 3.938 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.3477, allocations: 0 / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.3478, allocations: 23.91 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.939e-05/0.3479, allocations: 15.98 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3481, allocations: 12 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.3481, allocations: 15.92 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.3482, allocations: 4 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3482, allocations: 0 / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.3482, allocations: 4 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.3483, allocations: 11.92 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.3483, allocations: 11.88 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.677e-05/0.3484, allocations: 19.95 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3484, allocations: 0 / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3484, allocations: 0 / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3484, allocations: 4 kB / 0.9527 GB, free: 6.41 MB / 0.7325 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.0005588/0.349, allocations: 339.5 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.349, allocations: 8.031 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.3491, allocations: 0.9375 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3492, allocations: 176.2 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3493, allocations: 384 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3493, allocations: 384 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3495, allocations: 46.25 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3495, allocations: 12.06 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3495, allocations: 7.922 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3495, allocations: 4 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3497, allocations: 31.91 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3501, allocations: 240.9 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3502, allocations: 46.53 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.3503, allocations: 24.91 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3504, allocations: 0 / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3504, allocations: 34.56 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3504, allocations: 0 / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003543/0.3508, allocations: 85.67 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3508, allocations: 55.41 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.3509, allocations: 101.8 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3509, allocations: 25.7 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.351, allocations: 88.14 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.351, allocations: 3.906 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3511, allocations: 13.72 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3512, allocations: 318.8 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.3513, allocations: 16.02 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.3514, allocations: 15.98 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3515, allocations: 40.77 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3515, allocations: 0 / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.3517, allocations: 73.66 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3518, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3518, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3518, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.3519, allocations: 11.98 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3519, allocations: 0 / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.352, allocations: 7.984 kB / 0.9545 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.352, allocations: 0 / 0.9545 GB, free: 4.387 MB / 0.7325 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 8.573e-05/0.3521, allocations: 117.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3521, allocations: 7.906 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.3523, allocations: 68.72 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3523, allocations: 0 / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3524, allocations: 4 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3524, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3525, allocations: 165.5 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3526, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.3526, allocations: 8.031 kB / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3526, allocations: 3.984 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3526, allocations: 4 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3526, allocations: 0 / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3526, allocations: 3.938 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.3529, allocations: 171.4 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.353, allocations: 77.11 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.353, allocations: 0 / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.353, allocations: 7.984 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3531, allocations: 0 / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3531, allocations: 4 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.3532, allocations: 79.28 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3532, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002107/0.3534, allocations: 4 kB / 0.9552 GB, free: 3.574 MB / 0.7325 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.0001882/0.3536, allocations: 103.3 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3538, allocations: 35.95 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3538, allocations: 0 / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.3539, allocations: 23.92 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3542, allocations: 15.86 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.3545, allocations: 101.7 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3548, allocations: 0.6805 MB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.3548, allocations: 0 / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3549, allocations: 7.438 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3549, allocations: 0 / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Templates: time 0.00286/0.3578, allocations: 444.9 kB / 0.9565 GB, free: 2.121 MB / 0.7325 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 -s gbode -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