Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001821/0.001821, allocations: 110.4 kB / 16.45 MB, free: 6.035 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.001882/0.001882, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.402/1.402, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.61 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2848, allocations: 173.9 MB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001796/0.2866, allocations: 0.6023 MB / 1.305 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.2867, allocations: 19.91 kB / 1.305 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.2868, allocations: 4 kB / 1.305 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.241e-05/0.2869, allocations: 3.938 kB / 1.305 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.569e-05/0.2869, allocations: 0 / 1.305 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.368e-05/0.287, allocations: 8 kB / 1.305 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.2871, allocations: 19.92 kB / 1.305 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2872, allocations: 32.2 kB / 1.305 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.2872, allocations: 11.94 kB / 1.305 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.2872, allocations: 19.92 kB / 1.305 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2872, allocations: 4 kB / 1.305 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.2873, allocations: 4 kB / 1.305 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.2873, allocations: 15.92 kB / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.2873, allocations: 19.86 kB / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.003e-05/0.2874, allocations: 43.81 kB / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2874, allocations: 0 / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2874, allocations: 0 / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2874, allocations: 4 kB / 1.305 GB, free: 0.7383 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003521/0.2878, allocations: 343.3 kB / 1.305 GB, free: 360 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2878, allocations: 16.62 kB / 1.305 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.2879, allocations: 38.73 kB / 1.305 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.2879, allocations: 8.891 kB / 1.305 GB, free: 288 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2881, allocations: 176.3 kB / 1.305 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2881, allocations: 4.375 kB / 1.305 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2881, allocations: 8.312 kB / 1.305 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2882, allocations: 74.17 kB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2883, allocations: 3.938 kB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2883, allocations: 8 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2883, allocations: 4 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.2883, allocations: 43.97 kB / 1.305 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.2888, allocations: 491.1 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.2889, allocations: 169.5 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.289, allocations: 80.14 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.289, allocations: 79.28 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.2891, allocations: 109.8 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.2891, allocations: 7.922 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.938e-05/0.2891, allocations: 45.64 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.2892, allocations: 130.6 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2894, allocations: 167.7 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2894, allocations: 25.7 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.2894, allocations: 92.14 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2894, allocations: 0 / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.2895, allocations: 21.7 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2896, allocations: 314.8 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.2896, allocations: 11.98 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.2896, allocations: 4 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.2897, allocations: 20.89 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2897, allocations: 8 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.2898, allocations: 53.64 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2898, allocations: 4 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2898, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2898, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.2899, allocations: 11.92 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2899, allocations: 0 / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.2899, allocations: 7.938 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2899, allocations: 0 / 1.307 GB, free: 13.97 MB / 1.014 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 (mulMax.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.0001163/0.29, allocations: 197.1 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.2901, allocations: 116.9 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.2901, allocations: 108.9 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-05/0.2902, allocations: 184.1 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-05/0.2903, allocations: 180.2 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.228e-05/0.2904, allocations: 176.3 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.2906, allocations: 425.1 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.2907, allocations: 105 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.2907, allocations: 108.9 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.049e-05/0.2908, allocations: 180.3 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/0.2909, allocations: 180.2 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.969e-05/0.291, allocations: 192.1 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.353e-05/0.291, allocations: 176.3 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2912, allocations: 315.7 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2913, allocations: 182.1 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.2914, allocations: 184.5 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-05/0.2915, allocations: 108.9 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.2916, allocations: 192.2 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.2916, allocations: 101 kB / 1.31 GB, free: 10.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001072/0.2917, allocations: 124.7 kB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2917, allocations: 4 kB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002391/0.292, allocations: 7.938 kB / 1.311 GB, free: 10.27 MB / 1.014 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.0004998/0.2925, allocations: 0.8191 MB / 1.311 GB, free: 9.426 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.2926, allocations: 11.98 kB / 1.311 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2926, allocations: 0 / 1.311 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.2926, allocations: 0 / 1.311 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.293, allocations: 469.8 kB / 1.312 GB, free: 8.953 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2943, allocations: 1.491 MB / 1.313 GB, free: 7.383 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2946, allocations: 0.6885 MB / 1.314 GB, free: 6.668 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.2946, allocations: 4 kB / 1.314 GB, free: 6.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.2947, allocations: 19.44 kB / 1.314 GB, free: 6.645 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/0.2947, allocations: 4.031 kB / 1.314 GB, free: 6.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3172, allocations: 1.585 MB / 1.316 GB, free: 5.203 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.106, allocations: 17.69 kB / 1.316 GB, free: 5.191 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.307881675194949]