Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.001805/0.001805, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002186/0.002186, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8 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.155/3.155, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 MB / 0.6231 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="cs",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.001953/0.001953, allocations: 65.73 kB / 1.171 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.334, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.00175/0.3358, allocations: 0.6156 MB / 1.346 GB, free: 15.81 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.3359, allocations: 11.94 kB / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.3359, allocations: 0 / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.688e-05/0.336, allocations: 0 / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.3361, allocations: 7.922 kB / 1.346 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.419e-05/0.3361, allocations: 4 kB / 1.346 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.3362, allocations: 23.98 kB / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3363, allocations: 24.14 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.3363, allocations: 19.92 kB / 1.346 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.3364, allocations: 15.92 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3364, allocations: 4 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.3364, allocations: 0 / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.3364, allocations: 11.94 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.3365, allocations: 15.94 kB / 1.346 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.764e-05/0.3366, allocations: 51.73 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3366, allocations: 0 / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3366, allocations: 0 / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3366, allocations: 4 kB / 1.346 GB, free: 15.62 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003216/0.3369, allocations: 282.5 kB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3369, allocations: 8.031 kB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.992e-05/0.3369, allocations: 8.188 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.337, allocations: 30.75 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.337, allocations: 8.891 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3372, allocations: 118.5 kB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-06/0.3372, allocations: 384 / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3372, allocations: 12.38 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3374, allocations: 85.91 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3374, allocations: 0 / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.3374, allocations: 0 / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3374, allocations: 0 / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.3375, allocations: 47.97 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.3379, allocations: 462.2 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.338, allocations: 169.1 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.3381, allocations: 80.14 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.3381, allocations: 75.39 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.3381, allocations: 121.7 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3381, allocations: 0 / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.423e-05/0.3382, allocations: 33.64 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.3383, allocations: 134.6 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3385, allocations: 171.7 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3385, allocations: 25.7 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.3385, allocations: 92.14 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3385, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.3386, allocations: 21.66 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3387, allocations: 314.8 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.3387, allocations: 15.98 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.3387, allocations: 4 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.3388, allocations: 20.78 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3388, allocations: 3.938 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001109/0.3389, allocations: 45.69 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3389, allocations: 4 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3389, allocations: 4 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3389, allocations: 3.938 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.339, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.339, allocations: 8.078 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.339, allocations: 11.89 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.339, allocations: 4 kB / 1.348 GB, free: 13.04 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: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001145/0.3391, allocations: 193.8 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.3392, allocations: 112.9 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.3393, allocations: 116.6 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/0.3393, allocations: 184.2 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.282e-05/0.3394, allocations: 184.2 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.062e-05/0.3395, allocations: 184.2 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.3397, allocations: 392.2 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/0.3398, allocations: 101 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.3398, allocations: 104.9 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.3399, allocations: 184.3 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.34, allocations: 184.2 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-05/0.3401, allocations: 188.2 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.061e-05/0.3401, allocations: 176.3 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3403, allocations: 312 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.3404, allocations: 124.9 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.3405, allocations: 180.2 kB / 1.351 GB, free: 9.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.3406, allocations: 108.9 kB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.3406, allocations: 180.2 kB / 1.351 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.3407, allocations: 105 kB / 1.352 GB, free: 9.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001112/0.3408, allocations: 132.8 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3408, allocations: 0 / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002227/0.341, allocations: 4 kB / 1.352 GB, free: 9.457 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004537/0.3415, allocations: 0.8126 MB / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.635e-05/0.3416, allocations: 15.98 kB / 1.353 GB, free: 8.602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3416, allocations: 0 / 1.353 GB, free: 8.602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3416, allocations: 0 / 1.353 GB, free: 8.602 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.342, allocations: 463.5 kB / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3432, allocations: 1.482 MB / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3435, allocations: 0.6964 MB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.3436, allocations: 4 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.3436, allocations: 19.44 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3436, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3658, allocations: 1.696 MB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.72, allocations: 10.44 kB / 1.357 GB, free: 4.293 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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: 18.401886236970313]