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.00974/0.00974, allocations: 97.77 kB / 15.73 MB, free: 5.605 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.00201/0.00201, allocations: 192.5 kB / 16.67 MB, free: 5.527 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.83 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215/1.217, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001973/1.219, allocations: 0.7021 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/1.22, allocations: 0.8101 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/1.22, allocations: 0.6562 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/1.22, allocations: 4.719 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/1.22, allocations: 10.19 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/1.22, allocations: 14.64 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.22, allocations: 43.39 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/1.22, allocations: 10.16 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/1.22, allocations: 17.42 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/1.22, allocations: 26.77 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/1.22, allocations: 3.562 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/1.22, allocations: 3.75 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/1.22, allocations: 11.09 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/1.22, allocations: 17.91 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/1.221, allocations: 43.86 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.221, allocations: 1.469 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/1.221, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.221, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 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.0004813/1.221, allocations: 364.3 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.221, allocations: 9.969 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/1.221, allocations: 11.45 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.803e-05/1.221, allocations: 172.6 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/1.221, allocations: 1.312 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/1.221, allocations: 2.656 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/1.222, allocations: 68.8 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/1.222, allocations: 1.125 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/1.222, allocations: 3.938 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/1.222, allocations: 1.062 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/1.222, allocations: 70.36 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/1.222, allocations: 265.9 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/1.223, allocations: 55.22 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/1.223, allocations: 49.06 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/1.223, allocations: 1.797 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/1.223, allocations: 36.3 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.223, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005671/1.223, allocations: 131.5 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.223, allocations: 53.42 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/1.223, allocations: 107.8 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/1.223, allocations: 25.7 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/1.223, allocations: 86.52 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/1.224, allocations: 11.17 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/1.224, allocations: 20.42 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/1.224, allocations: 314.2 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/1.224, allocations: 31.59 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/1.224, allocations: 30.83 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/1.224, allocations: 74.34 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.224, allocations: 3.938 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000319/1.225, allocations: 102.9 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.225, allocations: 5.922 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.225, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.225, allocations: 1.25 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/1.225, allocations: 27.45 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.225, allocations: 0 / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/1.225, allocations: 11.8 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/1.225, allocations: 1.719 kB / 1.092 GB, free: 2.57 MB / 0.8575 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.166e-05/1.225, allocations: 112.1 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/1.225, allocations: 6.406 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/1.225, allocations: 108.8 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.225, allocations: 0.5938 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.225, allocations: 0.5 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.225, allocations: 1.391 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/1.226, allocations: 174.3 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.226, allocations: 0.7812 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.914e-05/1.226, allocations: 14.81 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.226, allocations: 5.453 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.226, allocations: 4.812 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.226, allocations: 0 / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.226, allocations: 1.734 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/1.226, allocations: 201.8 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/1.226, allocations: 83.38 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.226, allocations: 1.344 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/1.226, allocations: 11.47 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/1.226, allocations: 7.734 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.226, allocations: 5.359 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.184e-05/1.226, allocations: 84.02 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002196/1.227, allocations: 13.95 kB / 1.093 GB, free: 1.844 MB / 0.8575 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.0001496/1.227, allocations: 103.7 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003714/1.227, allocations: 71.44 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.227, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/1.227, allocations: 34.64 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.228, allocations: 13.11 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/1.228, allocations: 123.9 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/1.228, allocations: 0.6807 MB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.574e-05/1.228, allocations: 2.734 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/1.228, allocations: 8.406 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/1.228, allocations: 1 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of Templates: time 0.003299/1.232, allocations: 0.6864 MB / 1.094 GB, free: 0.8281 MB / 0.8575 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