Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001431/0.001431, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001445/0.001445, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.321/1.321, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7605, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001643/0.7621, allocations: 0.7816 MB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.7628, allocations: 0.8732 MB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.7629, allocations: 4.75 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.7629, allocations: 9.266 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.763, allocations: 6.875 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.7631, allocations: 46.28 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.7632, allocations: 87 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.7633, allocations: 22.67 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.7634, allocations: 35.45 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.7634, allocations: 53.67 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.7635, allocations: 7.594 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.7635, allocations: 8.531 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.7635, allocations: 23.08 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.7636, allocations: 31.88 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.7637, allocations: 89.25 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7637, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7637, allocations: 1.219 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7637, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 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.0005087/0.7642, allocations: 393.8 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.7642, allocations: 9.062 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.7642, allocations: 43.56 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.7643, allocations: 12.73 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.7644, allocations: 178.5 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.7644, allocations: 7.688 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.7644, allocations: 11.73 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.7647, allocations: 103.8 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7647, allocations: 0 / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7647, allocations: 4.875 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.7647, allocations: 5.594 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.765, allocations: 97.53 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.7654, allocations: 342.9 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.766, allocations: 120.3 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.7662, allocations: 50.88 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.7662, allocations: 9.016 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-06/0.7662, allocations: 31.66 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.7662, allocations: 4 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005957/0.7668, allocations: 186.1 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/0.7668, allocations: 52.84 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.7669, allocations: 123.6 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.7669, allocations: 26.73 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.7669, allocations: 104.1 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.767, allocations: 14.52 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.767, allocations: 22.27 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.767, allocations: 323.6 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.7672, allocations: 43.98 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.7674, allocations: 50.36 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.7677, allocations: 103 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7677, allocations: 0 / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003905/0.7681, allocations: 139.3 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7681, allocations: 9.688 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7681, allocations: 0 / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7681, allocations: 2.562 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.7683, allocations: 23.14 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7683, allocations: 3.938 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.7684, allocations: 17.17 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.7684, allocations: 7.375 kB / 1.276 GB, free: 4.359 MB / 0.9981 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 5.206e-05/0.7684, allocations: 117.3 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.7685, allocations: 9.172 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.7689, allocations: 149 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.7689, allocations: 0.9375 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7689, allocations: 3.938 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7689, allocations: 0.9062 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.7691, allocations: 202.1 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7691, allocations: 1.547 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.7692, allocations: 24.48 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7692, allocations: 4.719 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7692, allocations: 4.75 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7692, allocations: 0.5938 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7692, allocations: 7.469 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.7696, allocations: 237 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.7696, allocations: 83.7 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.7697, allocations: 2.859 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.7698, allocations: 10.94 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.7699, allocations: 24.84 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7699, allocations: 4.953 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.7699, allocations: 99.78 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7699, allocations: 0 / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002159/0.7701, allocations: 15.78 kB / 1.277 GB, free: 3.574 MB / 0.9981 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.0005708/0.7707, allocations: 0.7712 MB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.7711, allocations: 106.7 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7711, allocations: 0.875 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.7713, allocations: 58.95 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.7715, allocations: 16.94 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.7733, allocations: 1.549 MB / 1.279 GB, free: 17.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.7736, allocations: 0.691 MB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.838e-05/0.7736, allocations: 10.47 kB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.7737, allocations: 30.83 kB / 1.28 GB, free: 16.83 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.7737, allocations: 0.9375 kB / 1.28 GB, free: 16.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.7988, allocations: 2.713 MB / 1.283 GB, free: 16.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.807, allocations: 1.094 kB / 1.283 GB, free: 16.39 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.257127428005333]