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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001409/0.001409, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001221/0.001221, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.304/1.304, 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 11.0.1-master/package.mo): time 2.433/2.433, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7082, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001874/0.7101, allocations: 0.7078 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.711, allocations: 0.804 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.7111, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.7111, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.7112, allocations: 11.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.634e-05/0.7113, allocations: 15.98 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.085e-05/0.7114, allocations: 39.86 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.7115, allocations: 15.97 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.7116, allocations: 19.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.7116, allocations: 19.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.7117, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.7117, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.7117, allocations: 15.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.7118, allocations: 11.94 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.7118, allocations: 39.86 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7119, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7119, allocations: 3.938 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7119, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 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.0004788/0.7124, allocations: 363.2 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7124, allocations: 12.03 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.7124, allocations: 8.844 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.7126, allocations: 166.2 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.7126, allocations: 4.359 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.7126, allocations: 384 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.7128, allocations: 78.14 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.7129, allocations: 192 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7129, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7129, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.7132, allocations: 63.94 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.7135, allocations: 264.9 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.7137, allocations: 62.41 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7139, allocations: 44.92 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.7139, allocations: 3.984 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.7139, allocations: 34.5 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.7139, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005204/0.7145, allocations: 125.6 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.7145, allocations: 51.41 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.7146, allocations: 113.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.7146, allocations: 25.7 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.7147, allocations: 92.03 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.7147, allocations: 11.84 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.7147, allocations: 17.72 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.7148, allocations: 314.8 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.715, allocations: 31.95 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.7151, allocations: 31.97 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.7154, allocations: 68.78 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7154, allocations: 3.938 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000308/0.7157, allocations: 93.62 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7157, allocations: 8 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7157, allocations: 3.938 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7157, allocations: 3.984 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.7159, allocations: 19.98 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7159, allocations: 7.938 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.716, allocations: 7.984 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.716, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 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.715e-05/0.7161, allocations: 109.8 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.7161, allocations: 7.906 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.7165, allocations: 105.8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7165, allocations: 3.984 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7165, allocations: 8 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7165, allocations: 48 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.7167, allocations: 173.6 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.7167, allocations: 0 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.7168, allocations: 15.92 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7168, allocations: 0 / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7168, allocations: 8 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7168, allocations: 3.984 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7168, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.7172, allocations: 191.4 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.7172, allocations: 81.02 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7172, allocations: 8 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7173, allocations: 11.97 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.7174, allocations: 8 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.7174, allocations: 0 / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.7174, allocations: 91.56 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7175, allocations: 3.938 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002116/0.7177, allocations: 8 kB / 1.213 GB, free: 8.66 MB / 0.9356 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.0001309/0.7178, allocations: 107.2 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.7181, allocations: 63.92 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7181, allocations: 0 / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.7183, allocations: 39.95 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.7186, allocations: 14.36 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.7189, allocations: 147.2 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.7191, allocations: 0.6845 MB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.7192, allocations: 11.44 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.7192, allocations: 0 / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.001927/0.7211, allocations: 0.7501 MB / 1.215 GB, free: 6.789 MB / 0.9356 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/jenkins1/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