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.001788/0.001788, allocations: 85.48 kB / 19.44 MB, free: 340 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.002027/0.002027, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.633/1.633, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.367/3.367, allocations: 429.4 MB / 0.6729 GB, free: 4.008 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.324e-06/2.324e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.246e-05, allocations: 8.844 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00211/0.002143, allocations: 0.7684 MB / 0.8782 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003482, allocations: 0.8863 MB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.003538, allocations: 4 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.003568, allocations: 3.938 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.003666, allocations: 20.17 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.003855, allocations: 38.91 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.004004, allocations: 91.75 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004113, allocations: 15.98 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.004283, allocations: 59.88 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.004369, allocations: 35.94 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.004401, allocations: 11.94 kB / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.004422, allocations: 8 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.004452, allocations: 15.98 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.004494, allocations: 24.84 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.004662, allocations: 95.66 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004664, allocations: 1.125 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004664, allocations: 0 / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004668, allocations: 0 / 0.8795 GB, free: 4.574 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.0006758/0.005344, allocations: 417 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.005379, allocations: 8.031 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.005438, allocations: 17.95 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005586, allocations: 112.6 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.005603, allocations: 4.375 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.005621, allocations: 13.34 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.005898, allocations: 98.12 kB / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.005911, allocations: 4.938 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.005927, allocations: 4 kB / 0.8801 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.005938, allocations: 11.98 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.006211, allocations: 71.36 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.006965, allocations: 339.5 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.007548, allocations: 111.1 kB / 0.8806 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.007692, allocations: 43.67 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.007718, allocations: 0 / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.007754, allocations: 41.98 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.007755, allocations: 1.375 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005453/0.008301, allocations: 149.5 kB / 0.8809 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.008351, allocations: 60.59 kB / 0.8809 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.008511, allocations: 185.9 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.008532, allocations: 25.7 kB / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.008633, allocations: 148.3 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.008666, allocations: 23.8 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.008731, allocations: 31.36 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002653/0.008996, allocations: 0.4961 MB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.009134, allocations: 33.3 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.009257, allocations: 35.97 kB / 0.8819 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.009509, allocations: 75.66 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009511, allocations: 3.938 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003412/0.009852, allocations: 113.6 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.009869, allocations: 8 kB / 0.8821 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009873, allocations: 0 / 0.8821 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.009886, allocations: 0 / 0.8821 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01003, allocations: 19.92 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01004, allocations: 0 / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.01013, allocations: 19.94 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.01014, allocations: 0 / 0.8821 GB, free: 1.699 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.0001328/0.01027, allocations: 164.5 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.01031, allocations: 7.938 kB / 0.8823 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.01071, allocations: 134.5 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01071, allocations: 0 / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01072, allocations: 3.984 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01072, allocations: 0 / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01093, allocations: 152.5 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01094, allocations: 0 / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.01107, allocations: 19.98 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01107, allocations: 0 / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01108, allocations: 0 / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01108, allocations: 4 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01108, allocations: 0 / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.01152, allocations: 275.8 kB / 0.8828 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.01153, allocations: 11.94 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.01156, allocations: 8 kB / 0.8829 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.01168, allocations: 7.984 kB / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.01178, allocations: 27.97 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.01179, allocations: 0 / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.616e-05/0.01188, allocations: 139.6 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01188, allocations: 0 / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002359/0.01212, allocations: 19.95 kB / 0.883 GB, free: 0.668 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.0001302/0.01225, allocations: 99.23 kB / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.0126, allocations: 91.58 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0126, allocations: 0 / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.01278, allocations: 63.66 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01305, allocations: 19.92 kB / 0.8833 GB, free: 392 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.01353, allocations: 178.8 kB / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.518e-05/0.01362, allocations: 79.19 kB / 0.8835 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.195e-05/0.01368, allocations: 15.92 kB / 0.8836 GB, free: 64 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.01375, allocations: 24.48 kB / 0.8836 GB, free: 40 kB / 0.8386 GB Notification: Performance of SimCode: time 4.7e-07/0.01375, allocations: 4 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of Templates: time 0.005315/0.01907, allocations: 1.714 MB / 0.8853 GB, free: 14.35 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] 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.6456285569584]