Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001963/0.001964, allocations: 194 kB / 16.14 MB, free: 6.711 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.585/1.585, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.511/2.511, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 71.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.9004, allocations: 140.3 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002773/0.9033, allocations: 0.7332 MB / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.9048, allocations: 0.8436 MB / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.9048, allocations: 1.438 kB / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.9049, allocations: 0 / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.116e-05/0.905, allocations: 0 / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.9053, allocations: 15.08 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.692e-05/0.9053, allocations: 20.42 kB / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.9055, allocations: 7.562 kB / 0.9505 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.9056, allocations: 10.77 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.9056, allocations: 6.969 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.9056, allocations: 1.469 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.9057, allocations: 1.344 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.9057, allocations: 9.141 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.9057, allocations: 6.656 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.832e-05/0.9058, allocations: 27.33 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9058, allocations: 0 / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9058, allocations: 0 / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9058, allocations: 4 kB / 0.9506 GB, free: 7.902 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.0005112/0.9064, allocations: 338.8 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.9064, allocations: 10.47 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.9065, allocations: 0.9375 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.9066, allocations: 175.5 kB / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9066, allocations: 384 / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.9066, allocations: 1.5 kB / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.9068, allocations: 53.83 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.9068, allocations: 192 / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.9068, allocations: 3.938 kB / 0.9511 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9069, allocations: 1.094 kB / 0.9511 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.907, allocations: 33.5 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.9074, allocations: 245.2 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.9075, allocations: 44 kB / 0.9514 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.9076, allocations: 22.47 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.9076, allocations: 0 / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.9076, allocations: 31.94 kB / 0.9515 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.9077, allocations: 3.938 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003804/0.908, allocations: 93.14 kB / 0.9516 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.9081, allocations: 51.41 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.9082, allocations: 103.3 kB / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.9082, allocations: 25.7 kB / 0.9518 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.9083, allocations: 81.52 kB / 0.9518 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.9083, allocations: 9.219 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.9083, allocations: 15.09 kB / 0.9519 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.9084, allocations: 320.3 kB / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.9085, allocations: 13.61 kB / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.9086, allocations: 16.23 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.9087, allocations: 40.06 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9087, allocations: 3.938 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.9089, allocations: 69.05 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9089, allocations: 7.062 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9089, allocations: 0 / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9089, allocations: 0 / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.9091, allocations: 14.36 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9091, allocations: 0 / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.9091, allocations: 8.266 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.9091, allocations: 4.031 kB / 0.9523 GB, free: 6.082 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.456e-05/0.9092, allocations: 116.1 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.9092, allocations: 5.156 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.9093, allocations: 4.375 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9093, allocations: 0 / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9093, allocations: 0 / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9093, allocations: 1.219 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.9094, allocations: 161.4 kB / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.9094, allocations: 1.281 kB / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.9095, allocations: 13.23 kB / 0.9526 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9095, allocations: 5.062 kB / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.9095, allocations: 0 / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9095, allocations: 0 / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9095, allocations: 1.25 kB / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.9098, allocations: 163.4 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.9098, allocations: 85.12 kB / 0.9529 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.9098, allocations: 1 kB / 0.9529 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.9099, allocations: 11.52 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.9099, allocations: 2.312 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.9099, allocations: 0 / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.91, allocations: 82.12 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.91, allocations: 1.344 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002128/0.9102, allocations: 6.406 kB / 0.953 GB, free: 5.395 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.000128/0.9103, allocations: 106.4 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.9106, allocations: 36.34 kB / 0.9531 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9106, allocations: 1.125 kB / 0.9531 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.9107, allocations: 19.55 kB / 0.9531 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.911, allocations: 9.484 kB / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.9113, allocations: 98.77 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.9115, allocations: 0.681 MB / 0.9539 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.9115, allocations: 1.75 kB / 0.9539 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.9115, allocations: 9.094 kB / 0.9539 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.9115, allocations: 0 / 0.9539 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of Templates: time 0.002502/0.914, allocations: 367.3 kB / 0.9543 GB, free: 4.262 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches