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.001468/0.001468, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002311/0.002311, allocations: 167.7 kB / 22.46 MB, free: 5.379 MB / 14.72 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.574/1.574, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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.17/3.17, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.855e-06/2.855e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.906e-05/5.192e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002828/0.00288, allocations: 0.7621 MB / 1.001 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004682, allocations: 0.8899 MB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.004777, allocations: 0 / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.00483, allocations: 3.938 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.004981, allocations: 11.88 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.005281, allocations: 51.81 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.005488, allocations: 83.77 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.005663, allocations: 15.98 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.005871, allocations: 55.88 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.005994, allocations: 35.95 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.006038, allocations: 8 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.006061, allocations: 8 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.006104, allocations: 19.91 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.006158, allocations: 27.91 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.006385, allocations: 91.72 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.00639, allocations: 4 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/0.006391, allocations: 3.938 kB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.006404, allocations: 4 kB / 1.002 GB, free: 5.191 MB / 0.9512 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.0008544/0.007258, allocations: 314 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.007308, allocations: 8.031 kB / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.00737, allocations: 12.84 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.00758, allocations: 125.7 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.007609, allocations: 4.375 kB / 1.003 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.007653, allocations: 12.36 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.008036, allocations: 112.3 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.008052, allocations: 3.938 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.008068, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.008074, allocations: 3.938 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.008482, allocations: 103.8 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.009121, allocations: 268.4 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.009817, allocations: 118.5 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.01002, allocations: 64.78 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.01005, allocations: 0 / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.01008, allocations: 30.56 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.01008, allocations: 0 / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0007233/0.01081, allocations: 181.5 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.01085, allocations: 55.34 kB / 1.004 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.01098, allocations: 125.8 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.01101, allocations: 25.7 kB / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.01108, allocations: 100.1 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.01112, allocations: 15.84 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.01118, allocations: 33.7 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01134, allocations: 314.8 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.01154, allocations: 43.95 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.01172, allocations: 47.95 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.01211, allocations: 104.8 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01211, allocations: 0 / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004834/0.01259, allocations: 141.5 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.01261, allocations: 4 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01262, allocations: 0 / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.01264, allocations: 0 / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.01283, allocations: 23.97 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01284, allocations: 4 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.01297, allocations: 15.98 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01298, allocations: 4 kB / 1.004 GB, free: 2.648 MB / 0.9512 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.0001247/0.0131, allocations: 125.7 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.01314, allocations: 3.953 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.01368, allocations: 154 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.01368, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.01369, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01369, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.0139, allocations: 141.2 kB / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.0139, allocations: 0 / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.01406, allocations: 27.97 kB / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01406, allocations: 0 / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.01408, allocations: 3.984 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01408, allocations: 0.625 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01408, allocations: 4 kB / 1.005 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.0146, allocations: 235.4 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01462, allocations: 11.89 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01465, allocations: 0 / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.01479, allocations: 15.92 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.01489, allocations: 23.97 kB / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.0149, allocations: 11.98 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.01497, allocations: 91.28 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01497, allocations: 0 / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002451/0.01522, allocations: 16 kB / 1.005 GB, free: 1.738 MB / 0.9512 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.0001561/0.01537, allocations: 103.2 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.01584, allocations: 103.9 kB / 1.005 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01585, allocations: 4 kB / 1.005 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.01607, allocations: 63.88 kB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.01643, allocations: 11.94 kB / 1.006 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.01698, allocations: 177.4 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.01706, allocations: 75.33 kB / 1.006 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.357e-05/0.01713, allocations: 12 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.0172, allocations: 24.48 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of SimCode: time 7.41e-07/0.01721, allocations: 4 kB / 1.006 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of Templates: time 0.005312/0.02252, allocations: 1.693 MB / 1.008 GB, free: 15.43 MB / 0.9669 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.75844844430685]