Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007914/0.0007914, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007974/0.0007974, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 0.935/0.935, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.612e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001495/0.001521, allocations: 0.7523 MB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.002329, allocations: 0.8898 MB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.002373, allocations: 0 / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.002406, allocations: 11.86 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.002478, allocations: 11.92 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.002643, allocations: 43.83 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.002735, allocations: 87.75 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.002838, allocations: 19.98 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.002923, allocations: 47.89 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.002987, allocations: 39.89 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.003021, allocations: 15.98 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.003034, allocations: 8 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.003057, allocations: 19.92 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.003084, allocations: 23.97 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003203, allocations: 91.7 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003206, allocations: 4 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003207, allocations: 0 / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003212, allocations: 0 / 0.983 GB, free: 500 kB / 0.9323 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.0004205/0.003632, allocations: 318 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.003669, allocations: 12.03 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.003701, allocations: 34.75 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.003726, allocations: 16.88 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.003829, allocations: 121.6 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.003843, allocations: 4.375 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.003858, allocations: 8.375 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.004069, allocations: 105.9 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004077, allocations: 0 / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.004087, allocations: 4 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004092, allocations: 4 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.004294, allocations: 99.89 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.004664, allocations: 295.8 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.005022, allocations: 118.6 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.005121, allocations: 56.75 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.005139, allocations: 0 / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.005157, allocations: 34.56 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.005158, allocations: 0 / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003804/0.005538, allocations: 189.4 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.005566, allocations: 55.41 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.005634, allocations: 125.8 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.005648, allocations: 25.7 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.005687, allocations: 100 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.005707, allocations: 15.86 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.005741, allocations: 25.7 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.005812, allocations: 326.7 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.005905, allocations: 47.89 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.005998, allocations: 51.95 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.006178, allocations: 93.25 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006179, allocations: 0 / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002218/0.006401, allocations: 149.5 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.006414, allocations: 4 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.006418, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.006427, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.006509, allocations: 27.91 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006514, allocations: 4 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.006565, allocations: 15.91 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.006574, allocations: 7.938 kB / 0.9854 GB, free: 13.85 MB / 0.948 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 6.558e-05/0.00664, allocations: 117.8 kB / 0.9855 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.006656, allocations: 7.953 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.006921, allocations: 146 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006923, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006926, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006929, allocations: 4 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.007059, allocations: 164.7 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.00706, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.007128, allocations: 27.91 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.007131, allocations: 4 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.007138, allocations: 0 / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.007142, allocations: 3.984 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007142, allocations: 0 / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.007382, allocations: 231.4 kB / 0.986 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.007394, allocations: 15.94 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007406, allocations: 0 / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.007472, allocations: 15.98 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.00753, allocations: 19.97 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007534, allocations: 4 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.00757, allocations: 95.27 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00757, allocations: 3.938 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001567/0.007727, allocations: 19.94 kB / 0.9862 GB, free: 12.91 MB / 0.948 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.0004376/0.008165, allocations: 0.7815 MB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.008401, allocations: 103.8 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008402, allocations: 0 / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.008509, allocations: 63.94 kB / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.008736, allocations: 11.94 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.01003, allocations: 1.542 MB / 0.9887 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.01008, allocations: 75.27 kB / 0.9887 GB, free: 10.21 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.01012, allocations: 15.75 kB / 0.9887 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.01018, allocations: 36.47 kB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.01019, allocations: 0 / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02494, allocations: 3.479 MB / 0.9922 GB, free: 6.832 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/6.752, allocations: 1.172 kB / 0.9922 GB, free: 6.832 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.901692843995988]