Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.556/1.556, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.608/2.608, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.91 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.9119, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002077/0.914, allocations: 0.7047 MB / 0.9503 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.9148, allocations: 0.798 MB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.9149, allocations: 9.406 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.9149, allocations: 4 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.915, allocations: 12.7 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.9151, allocations: 14.17 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.9152, allocations: 37.3 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.9153, allocations: 16.97 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.9154, allocations: 13.25 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.9155, allocations: 25.56 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.9155, allocations: 4.094 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.9155, allocations: 7 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.9155, allocations: 9.125 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.9156, allocations: 15.33 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.9157, allocations: 44.14 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.9157, allocations: 0 / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9157, allocations: 0 / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.9157, allocations: 1.625 kB / 0.9513 GB, free: 7.879 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000486/0.9162, allocations: 364.1 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.9162, allocations: 13.16 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.9163, allocations: 7.766 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.9164, allocations: 169.6 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.9164, allocations: 1.625 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.9164, allocations: 3.281 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.9167, allocations: 66.28 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.9167, allocations: 192 / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.9167, allocations: 8.562 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9167, allocations: 5.656 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.917, allocations: 62.67 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.9173, allocations: 267.1 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.9175, allocations: 68.94 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.9177, allocations: 35.02 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.9177, allocations: 5.141 kB / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.9177, allocations: 31.69 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.9177, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005322/0.9183, allocations: 137.9 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.9183, allocations: 52.72 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.9184, allocations: 110.8 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.9184, allocations: 25.7 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.9184, allocations: 82.61 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.9185, allocations: 21.05 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.9185, allocations: 12.16 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.9185, allocations: 316.1 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.9187, allocations: 34.14 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.9188, allocations: 33.91 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.9191, allocations: 70.59 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9191, allocations: 3.938 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002963/0.9194, allocations: 101.8 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9194, allocations: 5.625 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.9194, allocations: 4 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.9195, allocations: 0 / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.9196, allocations: 19.09 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.9196, allocations: 0 / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.9197, allocations: 11.55 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.9197, allocations: 5.406 kB / 0.9533 GB, free: 5.898 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 (3): * Single equations (assignments): 3 * 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 6.723e-05/0.9198, allocations: 114.8 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.9198, allocations: 6.344 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.9201, allocations: 107.9 kB / 0.9535 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9201, allocations: 1.438 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9202, allocations: 0 / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9202, allocations: 0 / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.9203, allocations: 170.1 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9203, allocations: 3.938 kB / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.9204, allocations: 18.45 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9204, allocations: 1.281 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.9204, allocations: 4 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9204, allocations: 0 / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.9204, allocations: 1.125 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.9207, allocations: 200 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.9208, allocations: 78.84 kB / 0.954 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.9208, allocations: 1.531 kB / 0.954 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.9209, allocations: 18.23 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.9209, allocations: 5.172 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.921, allocations: 1.031 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.921, allocations: 85.72 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.921, allocations: 0 / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002075/0.9212, allocations: 11.22 kB / 0.9541 GB, free: 5.109 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 (3): * Single equations (assignments): 3 * 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.0001252/0.9213, allocations: 101.7 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.9217, allocations: 69.97 kB / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9217, allocations: 1.125 kB / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.9218, allocations: 39.88 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.9222, allocations: 16.62 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.9225, allocations: 124.4 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.9226, allocations: 0.6911 MB / 0.9551 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.9227, allocations: 5.281 kB / 0.9551 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.9227, allocations: 10.03 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.9227, allocations: 0 / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.002797/0.9255, allocations: 0.6665 MB / 0.9558 GB, free: 3.781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches