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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008608/0.008607, allocations: 100.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2887, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002138/0.2909, allocations: 0.6023 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001786/0.2911, allocations: 7.938 kB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.2912, allocations: 4 kB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.2913, allocations: 7.875 kB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.2914, allocations: 3.984 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.202e-05/0.2915, allocations: 0 / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2916, allocations: 27.97 kB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.2918, allocations: 27.98 kB / 1.208 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.2918, allocations: 15.94 kB / 1.208 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.2918, allocations: 19.86 kB / 1.208 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2919, allocations: 4 kB / 1.208 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.2919, allocations: 4 kB / 1.208 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.2919, allocations: 8 kB / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.292, allocations: 19.88 kB / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2921, allocations: 51.73 kB / 1.208 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2921, allocations: 0 / 1.208 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2921, allocations: 4 kB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2921, allocations: 0 / 1.208 GB, free: 9.387 MB / 0.9669 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.0003734/0.2925, allocations: 343.7 kB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2926, allocations: 12.62 kB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.2926, allocations: 42.73 kB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2927, allocations: 8.844 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2929, allocations: 188.2 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2929, allocations: 384 / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2929, allocations: 4.375 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2931, allocations: 82.16 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2931, allocations: 7.938 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2931, allocations: 0 / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2931, allocations: 0 / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.2932, allocations: 47.97 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.2937, allocations: 483.1 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.2938, allocations: 173.1 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.2938, allocations: 80.14 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.2938, allocations: 75.28 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.2939, allocations: 113.8 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2939, allocations: 0 / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.76e-05/0.294, allocations: 29.7 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.294, allocations: 130.6 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2942, allocations: 171.1 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2942, allocations: 33.69 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.2943, allocations: 92.08 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/0.2943, allocations: 4.109 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.2943, allocations: 17.66 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2944, allocations: 322.8 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.2944, allocations: 4 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.2945, allocations: 11.98 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.2945, allocations: 12.8 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2945, allocations: 0 / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001221/0.2946, allocations: 61.64 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2947, allocations: 4 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2947, allocations: 3.938 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2947, allocations: 0 / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.2948, allocations: 7.938 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2948, allocations: 0 / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.2948, allocations: 4 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2948, allocations: 0 / 1.211 GB, free: 6.629 MB / 0.9669 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.0001018/0.2949, allocations: 201.1 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.295, allocations: 112.8 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.295, allocations: 116.8 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.843e-05/0.2951, allocations: 184.1 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-05/0.2952, allocations: 176.3 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.294e-05/0.2952, allocations: 176.3 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.2955, allocations: 429.1 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/0.2955, allocations: 109 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.2956, allocations: 109.5 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.549e-05/0.2957, allocations: 176.3 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.2957, allocations: 176.3 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.195e-05/0.2958, allocations: 188.1 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.289e-05/0.2959, allocations: 188.5 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.296, allocations: 303.8 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.2961, allocations: 190 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.2962, allocations: 188.2 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.2963, allocations: 108.9 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.2964, allocations: 180.2 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.2964, allocations: 101 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000102/0.2965, allocations: 136.5 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2965, allocations: 0 / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002413/0.2968, allocations: 4 kB / 1.214 GB, free: 2.93 MB / 0.9669 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.0003923/0.2972, allocations: 0.8203 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.2972, allocations: 4 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2973, allocations: 0 / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2973, allocations: 0 / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.2977, allocations: 475.7 kB / 1.215 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2989, allocations: 1.501 MB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2991, allocations: 0.6846 MB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.2992, allocations: 7.984 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.2992, allocations: 15.44 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.2992, allocations: 3.938 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.317, allocations: 1.589 MB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.943, allocations: 8.062 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB (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 --timeout=50 --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) 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) Reference file matches