Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_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_9_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.001115/0.001115, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00915/0.009151, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.474/1.474, 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 9.1.3-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7994/0.7997, allocations: 142.4 MB / 0.9551 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0008977/0.8007, allocations: 0.4901 MB / 0.9555 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.8017, allocations: 0.8575 MB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.8018, allocations: 1.188 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.8018, allocations: 3.938 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.8019, allocations: 8.984 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.8021, allocations: 39.52 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.8023, allocations: 77.31 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.8024, allocations: 25.42 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.8025, allocations: 36.45 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.8026, allocations: 40.41 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.8027, allocations: 4.094 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.8027, allocations: 3.656 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.8027, allocations: 22.58 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.8028, allocations: 55.16 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.8029, allocations: 74.75 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8029, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8029, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.8029, allocations: 1.062 kB / 0.9567 GB, free: 6.371 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006028/0.8035, allocations: 392.2 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.8036, allocations: 9.656 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.8036, allocations: 9.688 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8038, allocations: 179.9 kB / 0.9573 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.8038, allocations: 7.125 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.8038, allocations: 4.875 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.8042, allocations: 118.3 kB / 0.9574 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8042, allocations: 0 / 0.9574 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.8042, allocations: 0.875 kB / 0.9574 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8042, allocations: 8.969 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.8047, allocations: 124.7 kB / 0.9576 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.8052, allocations: 357.5 kB / 0.9579 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.8059, allocations: 125 kB / 0.958 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.8061, allocations: 67.84 kB / 0.9581 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.8061, allocations: 1.719 kB / 0.9581 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.8062, allocations: 36.34 kB / 0.9581 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.8062, allocations: 4 kB / 0.9581 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007271/0.8069, allocations: 217.3 kB / 0.9583 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.807, allocations: 52.78 kB / 0.9584 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.8071, allocations: 117 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.8071, allocations: 25.7 kB / 0.9585 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.8071, allocations: 108.1 kB / 0.9586 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.8072, allocations: 18.5 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.8072, allocations: 12.47 kB / 0.9587 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.8073, allocations: 324.1 kB / 0.959 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.8075, allocations: 52.95 kB / 0.959 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.8076, allocations: 58.33 kB / 0.9591 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.8081, allocations: 126.5 kB / 0.9592 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8081, allocations: 0 / 0.9592 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004537/0.8085, allocations: 159.4 kB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.8086, allocations: 10.84 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8086, allocations: 1.438 kB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8086, allocations: 7.938 kB / 0.9594 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.8088, allocations: 29.38 kB / 0.9594 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.8088, allocations: 3.984 kB / 0.9594 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.8089, allocations: 19.77 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.809, allocations: 2.562 kB / 0.9594 GB, free: 4.117 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: 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 8.141e-05/0.809, allocations: 121.6 kB / 0.9595 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.8091, allocations: 6.469 kB / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.8096, allocations: 175.6 kB / 0.9597 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.8096, allocations: 1.031 kB / 0.9597 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8096, allocations: 0 / 0.9597 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8096, allocations: 4.938 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.8098, allocations: 199.7 kB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.8098, allocations: 0 / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.81, allocations: 36.5 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.81, allocations: 1.094 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.81, allocations: 1.156 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.81, allocations: 1.062 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.81, allocations: 0 / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.8105, allocations: 264.3 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.8106, allocations: 82.39 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.8106, allocations: 5.375 kB / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.8107, allocations: 18.97 kB / 0.9603 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.8108, allocations: 22.84 kB / 0.9603 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.8108, allocations: 6.688 kB / 0.9603 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.8109, allocations: 97.27 kB / 0.9604 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8109, allocations: 0 / 0.9604 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002435/0.8111, allocations: 16.31 kB / 0.9604 GB, free: 3.227 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: 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.0001291/0.8113, allocations: 109.1 kB / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.8118, allocations: 129 kB / 0.9607 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8118, allocations: 0 / 0.9607 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.812, allocations: 73.27 kB / 0.9607 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.8124, allocations: 18.22 kB / 0.9607 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.813, allocations: 194.2 kB / 0.9609 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.8132, allocations: 0.6944 MB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.731e-05/0.8133, allocations: 6.562 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.8134, allocations: 16.92 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.8134, allocations: 4 kB / 0.9616 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.005134/0.8185, allocations: 1.337 MB / 0.9629 GB, free: 1.461 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches