Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007875/0.007875, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.001948/0.001948, allocations: 196 kB / 16.68 MB, free: 5.969 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7453 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.88 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.082, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002062/1.084, allocations: 0.7167 MB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/1.085, allocations: 0.8001 MB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/1.085, allocations: 4 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/1.085, allocations: 3.938 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/1.085, allocations: 11.92 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/1.086, allocations: 11.98 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.248e-05/1.086, allocations: 47.8 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/1.086, allocations: 11.98 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/1.086, allocations: 15.97 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/1.086, allocations: 27.86 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/1.086, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/1.086, allocations: 0 / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/1.086, allocations: 15.98 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/1.086, allocations: 11.94 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/1.086, allocations: 39.81 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.086, allocations: 0 / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.492e-06/1.086, allocations: 0 / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.086, allocations: 0 / 1.227 GB, free: 11.82 MB / 0.9512 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.0005613/1.087, allocations: 371.8 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.087, allocations: 8.031 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/1.087, allocations: 12.89 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.087, allocations: 168.3 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.087, allocations: 4.375 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/1.087, allocations: 384 / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/1.087, allocations: 70.2 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.087, allocations: 192 / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.087, allocations: 3.938 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.087, allocations: 7.938 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/1.088, allocations: 63.94 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/1.088, allocations: 264.9 kB / 1.228 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/1.088, allocations: 66.41 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/1.088, allocations: 36.92 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.088, allocations: 3.984 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.088, allocations: 34.56 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.088, allocations: 0 / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005279/1.089, allocations: 129.5 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.089, allocations: 51.41 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/1.089, allocations: 105.8 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.089, allocations: 29.7 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/1.089, allocations: 88.12 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/1.089, allocations: 11.84 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/1.089, allocations: 17.72 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.089, allocations: 314.8 kB / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.09, allocations: 39.89 kB / 1.229 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.09, allocations: 27.97 kB / 1.229 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/1.09, allocations: 72.78 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.09, allocations: 3.938 kB / 1.229 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003151/1.09, allocations: 97.56 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.09, allocations: 4 kB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.09, allocations: 4.312 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.09, allocations: 0 / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/1.09, allocations: 23.98 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.09, allocations: 0 / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/1.091, allocations: 15.94 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.091, allocations: 0 / 1.229 GB, free: 9.484 MB / 0.9512 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 7.867e-05/1.091, allocations: 113.8 kB / 1.23 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/1.091, allocations: 3.984 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/1.091, allocations: 113.5 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/1.091, allocations: 7.984 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.091, allocations: 0 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.091, allocations: 0 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.091, allocations: 169.6 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/1.091, allocations: 0 / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/1.091, allocations: 15.98 kB / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.091, allocations: 0 / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/1.091, allocations: 4 kB / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.091, allocations: 3.984 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.091, allocations: 0 / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/1.092, allocations: 199.4 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/1.092, allocations: 81.05 kB / 1.23 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/1.092, allocations: 4 kB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.092, allocations: 15.97 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/1.092, allocations: 4 kB / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/1.092, allocations: 7.938 kB / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.378e-05/1.092, allocations: 83.27 kB / 1.23 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.092, allocations: 0 / 1.23 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002239/1.092, allocations: 12 kB / 1.23 GB, free: 8.555 MB / 0.9512 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.000158/1.093, allocations: 103.2 kB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003409/1.093, allocations: 67.92 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.093, allocations: 3.938 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/1.093, allocations: 35.95 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/1.093, allocations: 13.66 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/1.094, allocations: 141.1 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/1.094, allocations: 0.6768 MB / 1.231 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.203e-05/1.094, allocations: 7.984 kB / 1.231 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/1.094, allocations: 7.438 kB / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/1.094, allocations: 0 / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of Templates: time 0.003063/1.097, allocations: 0.6908 MB / 1.232 GB, free: 6.762 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches