Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.19/3.19, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.604e-05, allocations: 2.938 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002431/0.002467, allocations: 0.7643 MB / 0.8784 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004089, allocations: 0.8855 MB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.004161, allocations: 0 / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.004206, allocations: 12.8 kB / 0.8792 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.004324, allocations: 16.2 kB / 0.8792 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.004561, allocations: 44.91 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.004761, allocations: 79.77 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.004892, allocations: 21.11 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.005039, allocations: 51.89 kB / 0.8794 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005141, allocations: 39.94 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.005175, allocations: 13.06 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.005195, allocations: 8 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.005226, allocations: 15.92 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.00528, allocations: 28.91 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.005453, allocations: 91.7 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005456, allocations: 4.719 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005457, allocations: 0 / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.005462, allocations: 3.438 kB / 0.8796 GB, free: 4.395 MB / 0.8386 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.0007612/0.006224, allocations: 318 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006266, allocations: 8.031 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.006338, allocations: 12.89 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.006513, allocations: 121.6 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.006535, allocations: 4.375 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.006574, allocations: 8.375 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.006944, allocations: 113.6 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.006957, allocations: 3.938 kB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.006974, allocations: 4.484 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.00698, allocations: 5.438 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.0074, allocations: 96.47 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.008036, allocations: 277.5 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.008752, allocations: 115.9 kB / 0.8807 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.008974, allocations: 56.81 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.009003, allocations: 4 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.009038, allocations: 30.56 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.00904, allocations: 0 / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007967/0.009837, allocations: 185.5 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.009891, allocations: 55.41 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.01003, allocations: 129.8 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.01006, allocations: 25.7 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.01015, allocations: 96.09 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.01019, allocations: 23.77 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.01026, allocations: 21.72 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.01047, allocations: 322.8 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.01068, allocations: 47.95 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.01088, allocations: 47.95 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.01127, allocations: 92.77 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01127, allocations: 0 / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004895/0.01176, allocations: 137.5 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01178, allocations: 12 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01179, allocations: 0.5469 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.01181, allocations: 0 / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.012, allocations: 31.91 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01201, allocations: 3.984 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01214, allocations: 15.94 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01215, allocations: 0 / 0.882 GB, free: 1.852 MB / 0.8386 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.0001306/0.01229, allocations: 125.7 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.01233, allocations: 12 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.01295, allocations: 154 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.01295, allocations: 0 / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.01296, allocations: 0 / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.01297, allocations: 0 / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.01333, allocations: 141.1 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01333, allocations: 4 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.01351, allocations: 31.97 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.01352, allocations: 0 / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.01353, allocations: 0 / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01354, allocations: 0 / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01354, allocations: 0 / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.01413, allocations: 235.3 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.01415, allocations: 7.984 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.01418, allocations: 8 kB / 0.8826 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.01434, allocations: 11.98 kB / 0.8826 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.01445, allocations: 19.97 kB / 0.8827 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.01446, allocations: 7.938 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.252e-05/0.01456, allocations: 91.27 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01456, allocations: 0 / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000274/0.01483, allocations: 23.89 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 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.0001991/0.01503, allocations: 95.25 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.01554, allocations: 103.9 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.01554, allocations: 4 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.01578, allocations: 59.88 kB / 0.883 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.01624, allocations: 19.94 kB / 0.8831 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.01688, allocations: 173.2 kB / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.017, allocations: 81.42 kB / 0.8833 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.617e-05/0.01707, allocations: 8 kB / 0.8833 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.01718, allocations: 24.48 kB / 0.8833 GB, free: 324 kB / 0.8386 GB Notification: Performance of SimCode: time 6.02e-07/0.01719, allocations: 0 / 0.8833 GB, free: 324 kB / 0.8386 GB Notification: Performance of Templates: time 0.00565/0.02284, allocations: 1.721 MB / 0.885 GB, free: 14.62 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.186911365017295]