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.0015/0.0015, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001648/0.001648, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.44/1.44, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.869/2.869, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 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.001991/0.001991, allocations: 65.31 kB / 1.165 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8243, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001665/0.826, allocations: 0.6254 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001262/0.8261, allocations: 14.83 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.8262, allocations: 1.125 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.042e-05/0.8263, allocations: 1.078 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.8263, allocations: 0.7031 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.943e-05/0.8263, allocations: 6.875 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.8264, allocations: 26.42 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.8265, allocations: 30.45 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.8266, allocations: 14.58 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.8266, allocations: 14.83 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.8266, allocations: 2.594 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.8266, allocations: 2.906 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.8267, allocations: 13.16 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.8267, allocations: 25.98 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.947e-05/0.8268, allocations: 39.62 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.8268, allocations: 1.375 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8268, allocations: 0 / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8268, allocations: 7.875 kB / 1.341 GB, free: 15.83 MB / 1.061 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.0002929/0.8271, allocations: 350.8 kB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.8272, allocations: 9.812 kB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.216e-05/0.8272, allocations: 1.719 kB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.035e-05/0.8272, allocations: 41.45 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.8272, allocations: 7.641 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.8273, allocations: 176.3 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.8274, allocations: 6.688 kB / 1.341 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.8274, allocations: 3.594 kB / 1.341 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.8275, allocations: 82.39 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8275, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.8275, allocations: 5.25 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8275, allocations: 1 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.8276, allocations: 48.28 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.8279, allocations: 0.4887 MB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.828, allocations: 170.3 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.828, allocations: 80.14 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.828, allocations: 75.28 kB / 1.342 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.828, allocations: 115.6 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.828, allocations: 0 / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.973e-05/0.8281, allocations: 41.61 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.8281, allocations: 132 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.8282, allocations: 169.8 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-06/0.8282, allocations: 25.7 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.8283, allocations: 89.3 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.8283, allocations: 4 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.8283, allocations: 22.34 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.8283, allocations: 315.5 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.8284, allocations: 9.766 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.8284, allocations: 6.109 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.8284, allocations: 21.11 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8284, allocations: 0 / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.268e-05/0.8285, allocations: 56.59 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.8285, allocations: 5.375 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.8285, allocations: 1.672 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8285, allocations: 3.938 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.8286, allocations: 3.188 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.8286, allocations: 2.031 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.8286, allocations: 7.578 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.8286, allocations: 1.703 kB / 1.343 GB, free: 13.39 MB / 1.061 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 5.21e-05/0.8287, allocations: 194.7 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.8287, allocations: 113.5 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.8287, allocations: 113 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.8287, allocations: 181.8 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/0.8287, allocations: 183.8 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.8288, allocations: 182 kB / 1.344 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.8289, allocations: 422 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.8289, allocations: 106.8 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.8289, allocations: 103.1 kB / 1.345 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.8289, allocations: 190 kB / 1.345 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.829, allocations: 178.1 kB / 1.345 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/0.829, allocations: 186.1 kB / 1.345 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/0.829, allocations: 181.4 kB / 1.346 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.462e-05/0.8291, allocations: 307.9 kB / 1.346 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.8291, allocations: 186.2 kB / 1.346 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.8291, allocations: 188.3 kB / 1.346 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.8292, allocations: 109.7 kB / 1.346 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.8292, allocations: 182.8 kB / 1.347 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.8292, allocations: 109.8 kB / 1.347 GB, free: 9.891 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.447e-05/0.8293, allocations: 128.1 kB / 1.347 GB, free: 9.805 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8293, allocations: 0 / 1.347 GB, free: 9.805 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002096/0.8295, allocations: 4.938 kB / 1.347 GB, free: 9.805 MB / 1.061 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.000213/0.8297, allocations: 0.811 MB / 1.348 GB, free: 8.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.8298, allocations: 19.47 kB / 1.348 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8298, allocations: 1.031 kB / 1.348 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.8298, allocations: 0 / 1.348 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.8301, allocations: 471.5 kB / 1.348 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.831, allocations: 1.477 MB / 1.349 GB, free: 7.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.8312, allocations: 0.6875 MB / 1.35 GB, free: 6.473 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.8312, allocations: 6.953 kB / 1.35 GB, free: 6.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.8312, allocations: 23.25 kB / 1.35 GB, free: 6.453 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.8312, allocations: 0 / 1.35 GB, free: 6.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.8494, allocations: 1.636 MB / 1.352 GB, free: 6.082 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.657, allocations: 8.25 kB / 1.352 GB, free: 6.078 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.739484186051413]