Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009706, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00663/0.00663, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 16 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8009, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001143/0.8021, allocations: 0.4969 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.8031, allocations: 0.8624 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.8032, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.8032, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.8033, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.8035, allocations: 47.89 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.8037, allocations: 79.83 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.8038, allocations: 23.97 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.8039, allocations: 31.84 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.804, allocations: 39.83 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.804, allocations: 8 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.8041, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.8041, allocations: 19.91 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.8042, allocations: 49.56 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.8043, allocations: 83.64 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8043, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8043, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.8043, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006368/0.8049, allocations: 389.3 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.805, allocations: 8.031 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.805, allocations: 8.844 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.8052, allocations: 188.1 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.8052, allocations: 4.375 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.8053, allocations: 4.375 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.8056, allocations: 121.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8056, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.8056, allocations: 4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8056, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.8061, allocations: 123.9 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.8066, allocations: 344.5 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.8073, allocations: 134.6 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.8075, allocations: 64.81 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.8075, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.8075, allocations: 34.56 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.8075, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007293/0.8083, allocations: 221.4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.8083, allocations: 55.41 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.8085, allocations: 121.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.8085, allocations: 29.7 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.8086, allocations: 99.98 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.8086, allocations: 15.73 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.8086, allocations: 17.72 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8088, allocations: 322.8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.809, allocations: 63.89 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.8092, allocations: 55.89 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.8096, allocations: 120.8 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8096, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004437/0.8101, allocations: 161.5 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8101, allocations: 12 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8101, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8101, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.8103, allocations: 27.97 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8103, allocations: 3.938 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.8104, allocations: 23.83 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.8105, allocations: 11.98 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001035/0.8106, allocations: 113.8 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.8106, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.8111, allocations: 173.9 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8111, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8111, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.8111, allocations: 7.922 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.8114, allocations: 201.5 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8114, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.8115, allocations: 31.91 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8115, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.8116, allocations: 11.98 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8116, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8116, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.8121, allocations: 255.4 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.8121, allocations: 89.02 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.8121, allocations: 4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.8123, allocations: 15.98 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.8124, allocations: 19.97 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8124, allocations: 7.938 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.8124, allocations: 95.2 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8124, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002225/0.8127, allocations: 19.94 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001621/0.8128, allocations: 115.2 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.8133, allocations: 120.6 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8133, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.8135, allocations: 79.88 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.8138, allocations: 8 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.8143, allocations: 205.5 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.8146, allocations: 0.6926 MB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.865e-05/0.8147, allocations: 12 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.8147, allocations: 15.42 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8147, allocations: 0 / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.003844/0.8186, allocations: 1.334 MB / 1.031 GB, free: 7.371 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches