Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001258/0.001258, allocations: 113 kB / 18.94 MB, free: 2.934 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.001436/0.001436, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.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.321/3.321, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 68.27 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3752, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002312/0.3775, allocations: 0.7797 MB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3788, allocations: 0.8899 MB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.3788, allocations: 7.938 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.3789, allocations: 11.81 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.304e-05/0.379, allocations: 11.94 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3792, allocations: 47.88 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3793, allocations: 75.89 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3794, allocations: 24.25 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.3795, allocations: 47.78 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3796, allocations: 47.81 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3796, allocations: 8 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.3796, allocations: 8 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.3797, allocations: 19.92 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.3797, allocations: 35.8 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3799, allocations: 87.66 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3799, allocations: 4 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3799, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3799, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 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.0006597/0.3805, allocations: 322 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3806, allocations: 8.031 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.3806, allocations: 42.73 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.3807, allocations: 8.891 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3808, allocations: 130.3 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3808, allocations: 8.375 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3808, allocations: 8.125 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.3811, allocations: 100.2 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3811, allocations: 7.984 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3811, allocations: 7.984 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3812, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.3815, allocations: 99.84 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.382, allocations: 307.7 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.3826, allocations: 122.5 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.3828, allocations: 48.81 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3829, allocations: 7.984 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3829, allocations: 34.55 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3829, allocations: 4 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000665/0.3835, allocations: 177.5 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3836, allocations: 55.41 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3837, allocations: 121.8 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3837, allocations: 29.7 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.3838, allocations: 96.03 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.3838, allocations: 23.78 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3839, allocations: 29.7 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3841, allocations: 314.8 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3842, allocations: 47.89 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3844, allocations: 47.95 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.3848, allocations: 108.8 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3848, allocations: 0 / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003948/0.3852, allocations: 133.5 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3852, allocations: 9.25 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3852, allocations: 0 / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3852, allocations: 4 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3854, allocations: 27.91 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.3854, allocations: 3.938 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3855, allocations: 11.98 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3855, allocations: 8 kB / 1.357 GB, free: 3.684 MB / 1.045 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,min1.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.000103/0.3856, allocations: 113.8 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.3856, allocations: 11.94 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.3861, allocations: 150 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3861, allocations: 3.938 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3861, allocations: 7.875 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3861, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.3863, allocations: 176.6 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3863, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3865, allocations: 27.97 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3865, allocations: 0 / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3865, allocations: 0 / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3865, allocations: 0 / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3865, allocations: 7.938 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.387, allocations: 236 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.387, allocations: 3.953 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.387, allocations: 7.984 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3872, allocations: 15.98 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.3873, allocations: 27.84 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3873, allocations: 4 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.3873, allocations: 95.27 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3873, allocations: 0 / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002473/0.3876, allocations: 12 kB / 1.358 GB, free: 2.727 MB / 1.045 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 (min1.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.0008047/0.3884, allocations: 0.7671 MB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.3888, allocations: 111.8 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3888, allocations: 4 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.389, allocations: 55.94 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3893, allocations: 19.88 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3915, allocations: 1.529 MB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3919, allocations: 0.6963 MB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.172e-05/0.392, allocations: 4 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.753e-05/0.392, allocations: 35.42 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.392, allocations: 0 / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.422, allocations: 2.853 MB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.98, allocations: 2.031 kB / 1.364 GB, free: 12.66 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.000491608000175]