Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.0007728/0.0007728, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007408/0.0007408, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.885/0.885, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.694/1.694, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.MultiMaxInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.551e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001052/0.001068, allocations: 0.618 MB / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.00119, allocations: 11.94 kB / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.001234, allocations: 3.938 kB / 0.9816 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 7.773e-05/0.001312, allocations: 0 / 0.9816 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.001339, allocations: 3.938 kB / 0.9816 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.108e-05/0.0014, allocations: 7.984 kB / 0.9816 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.001473, allocations: 23.92 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.001578, allocations: 27.91 kB / 0.9816 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.001608, allocations: 20 kB / 0.9816 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.00164, allocations: 11.98 kB / 0.9817 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.001658, allocations: 3.938 kB / 0.9817 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.001666, allocations: 4 kB / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.001693, allocations: 7.984 kB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.001716, allocations: 15.92 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.55e-05/0.001791, allocations: 43.92 kB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.001793, allocations: 0 / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.51e-07/0.001794, allocations: 0 / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.001798, allocations: 3.938 kB / 0.9817 GB, free: 1.797 MB / 0.9323 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.000235/0.002033, allocations: 274.2 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.002077, allocations: 8.031 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.002119, allocations: 42.73 kB / 0.982 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.928e-05/0.002138, allocations: 4.891 kB / 0.982 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.002276, allocations: 121.7 kB / 0.9822 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.002285, allocations: 4.375 kB / 0.9822 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.002294, allocations: 8.359 kB / 0.9822 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.002405, allocations: 70.23 kB / 0.9822 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.002412, allocations: 4.172 kB / 0.9822 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.002421, allocations: 8.375 kB / 0.9823 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.002426, allocations: 4.125 kB / 0.9823 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.002476, allocations: 51.97 kB / 0.9823 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.002811, allocations: 462.1 kB / 0.9827 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.002867, allocations: 169.1 kB / 0.9829 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.002888, allocations: 80.14 kB / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.002905, allocations: 75.28 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.002933, allocations: 113.8 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.002934, allocations: 0 / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 4.65e-05/0.00298, allocations: 29.7 kB / 0.9832 GB, free: 156 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.003018, allocations: 130.7 kB / 0.9833 GB, free: 12 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.003138, allocations: 176.5 kB / 0.9835 GB, free: 15.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.003146, allocations: 29.7 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.003183, allocations: 96.12 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.003185, allocations: 0 / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.003209, allocations: 17.72 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.00328, allocations: 322.8 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.003293, allocations: 8 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.003303, allocations: 7.984 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.003329, allocations: 12.86 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003331, allocations: 0 / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.47e-05/0.003415, allocations: 57.69 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.003426, allocations: 4 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003429, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.003438, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.003483, allocations: 7.938 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.003487, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.003508, allocations: 15.88 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.003516, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 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 6.377e-05/0.003579, allocations: 193.1 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.003615, allocations: 108.9 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.003646, allocations: 124.8 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.00368, allocations: 176.3 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/0.003718, allocations: 180.3 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/0.003755, allocations: 180.2 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.003896, allocations: 396.2 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.00392, allocations: 108.9 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.003944, allocations: 101.1 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-05/0.003978, allocations: 176.3 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.004019, allocations: 188.3 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.691e-05/0.004056, allocations: 184.2 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.719e-05/0.004093, allocations: 184.2 kB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.196e-05/0.004175, allocations: 311.7 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.004209, allocations: 120.9 kB / 0.9866 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.004255, allocations: 176.3 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.004302, allocations: 108.9 kB / 0.9869 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.004342, allocations: 176.3 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.004365, allocations: 105 kB / 0.9872 GB, free: 11.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.004427, allocations: 135.2 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004427, allocations: 3.938 kB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001472/0.004574, allocations: 7.938 kB / 0.9873 GB, free: 11.66 MB / 0.948 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.0002436/0.004817, allocations: 0.8171 MB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.961e-05/0.004867, allocations: 7.984 kB / 0.9881 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.004868, allocations: 0 / 0.9881 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.004872, allocations: 7.938 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.005146, allocations: 461.6 kB / 0.9886 GB, free: 10.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.005908, allocations: 1.488 MB / 0.99 GB, free: 8.777 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.005949, allocations: 67.34 kB / 0.9901 GB, free: 8.691 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.035e-05/0.005969, allocations: 11.98 kB / 0.9901 GB, free: 8.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.006002, allocations: 16.59 kB / 0.9901 GB, free: 8.664 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.006002, allocations: 0 / 0.9901 GB, free: 8.664 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.0187, allocations: 2.247 MB / 0.9923 GB, free: 6.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.467/6.485, allocations: 6.594 kB / 0.9923 GB, free: 6.566 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.332421669736505]