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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001945, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437.1 MB / 0.7178 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 71.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.324, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002055/0.3261, allocations: 0.7704 MB / 1.177 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3273, allocations: 0.8741 MB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3274, allocations: 0 / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.3274, allocations: 3.938 kB / 1.177 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.3276, allocations: 11.88 kB / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3277, allocations: 47.88 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3279, allocations: 83.77 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.328, allocations: 27.97 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3281, allocations: 39.84 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.3282, allocations: 47.83 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3283, allocations: 11.94 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.3283, allocations: 8 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.3283, allocations: 23.97 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.3284, allocations: 31.8 kB / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3285, allocations: 87.59 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3285, allocations: 4 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3285, allocations: 0 / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3286, allocations: 0 / 1.178 GB, free: 3.785 MB / 0.92 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.0007026/0.3293, allocations: 405.3 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3293, allocations: 8.031 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3293, allocations: 8.891 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3295, allocations: 180.2 kB / 1.178 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3296, allocations: 8.375 kB / 1.178 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3296, allocations: 4.375 kB / 1.178 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3299, allocations: 109.4 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.33, allocations: 3.984 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.33, allocations: 8 kB / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.33, allocations: 0 / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.3304, allocations: 91.91 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.331, allocations: 348.6 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.3316, allocations: 114.6 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3318, allocations: 56.81 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3319, allocations: 3.984 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.3319, allocations: 42.5 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3319, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007208/0.3326, allocations: 177.5 kB / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3327, allocations: 55.41 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3328, allocations: 133.6 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3329, allocations: 33.7 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3329, allocations: 92.09 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.333, allocations: 23.78 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.333, allocations: 21.72 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3332, allocations: 318.8 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3334, allocations: 43.95 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.3336, allocations: 47.95 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.334, allocations: 108.7 kB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.334, allocations: 0 / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004329/0.3344, allocations: 137.6 kB / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3345, allocations: 7.938 kB / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3345, allocations: 0.5469 kB / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3345, allocations: 3.984 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3347, allocations: 23.97 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3347, allocations: 0 / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3348, allocations: 19.92 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3348, allocations: 4 kB / 1.18 GB, free: 0.9766 MB / 0.92 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 9.949e-05/0.3349, allocations: 121.8 kB / 1.181 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.335, allocations: 3.953 kB / 1.181 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.3355, allocations: 153.9 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3355, allocations: 0 / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3355, allocations: 0 / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3355, allocations: 7.938 kB / 1.181 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.3358, allocations: 201.6 kB / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3358, allocations: 0 / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3359, allocations: 27.91 kB / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.336, allocations: 0 / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.336, allocations: 4 kB / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.336, allocations: 0 / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.336, allocations: 4 kB / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.3365, allocations: 235.3 kB / 1.181 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3365, allocations: 88.94 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3366, allocations: 3.984 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3367, allocations: 15.98 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.3368, allocations: 23.92 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.3369, allocations: 8.047 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.3369, allocations: 95.2 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002265/0.3372, allocations: 16 kB / 1.181 GB, free: 15.89 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: 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.0001387/0.3373, allocations: 99.19 kB / 1.181 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.3378, allocations: 107.9 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3378, allocations: 0 / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.338, allocations: 63.88 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3383, allocations: 8 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.3388, allocations: 199.8 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3392, allocations: 0.6924 MB / 1.183 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.3393, allocations: 19.42 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3393, allocations: 0 / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of Templates: time 0.003037/0.3423, allocations: 1.242 MB / 1.184 GB, free: 13.39 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.308875082992017]