Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.001697/0.001697, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002212/0.002212, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.644/1.644, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.041/3.041, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",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.002282/0.002282, allocations: 62.94 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.471, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005835/0.4768, allocations: 3.491 MB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.487, allocations: 5.88 MB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.4876, allocations: 31.81 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005977/0.4935, allocations: 1.888 MB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.4952, allocations: 0.5754 MB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-05/0.4952, allocations: 4 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0396/0.5348, allocations: 23.74 MB / 1.319 GB, free: 7.004 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.5351, allocations: 46.56 kB / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.5365, allocations: 0.5836 MB / 1.319 GB, free: 6.359 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009857/0.5374, allocations: 0.657 MB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.5376, allocations: 36 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.5378, allocations: 31.94 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007354/0.5385, allocations: 0.7437 MB / 1.321 GB, free: 4.887 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.5393, allocations: 0.6055 MB / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.5419, allocations: 2.128 MB / 1.324 GB, free: 2.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5419, allocations: 4 kB / 1.324 GB, free: 2.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5419, allocations: 0 / 1.324 GB, free: 2.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.805e-05/0.5419, allocations: 3.938 kB / 1.324 GB, free: 2.133 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.004163/0.5461, allocations: 2.179 MB / 1.326 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.5462, allocations: 8.031 kB / 1.326 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.006e-05/0.5462, allocations: 75.28 kB / 1.326 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.881e-05/0.5463, allocations: 105.8 kB / 1.326 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.5467, allocations: 305.5 kB / 1.326 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.5509, allocations: 2.399 MB / 1.329 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.551, allocations: 150.6 kB / 1.329 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.5511, allocations: 158.6 kB / 1.329 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.5512, allocations: 105 kB / 1.329 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.5512, allocations: 75.28 kB / 1.329 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.5513, allocations: 154.5 kB / 1.329 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.831e-05/0.5514, allocations: 150.6 kB / 1.329 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.5514, allocations: 154.5 kB / 1.329 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.5531, allocations: 1.088 MB / 1.33 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.5532, allocations: 169.1 kB / 1.331 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.5533, allocations: 84.08 kB / 1.331 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.5533, allocations: 75.28 kB / 1.331 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.5534, allocations: 109.8 kB / 1.331 GB, free: 10.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.5534, allocations: 8 kB / 1.331 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003701/0.5538, allocations: 244.2 kB / 1.331 GB, free: 10.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5539, allocations: 134.7 kB / 1.331 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004478/0.5584, allocations: 2.852 MB / 1.334 GB, free: 7.156 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.5584, allocations: 25.7 kB / 1.334 GB, free: 7.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.5594, allocations: 0.8989 MB / 1.335 GB, free: 6.223 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.5594, allocations: 3.938 kB / 1.335 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.5595, allocations: 13.7 kB / 1.335 GB, free: 6.199 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5596, allocations: 306 kB / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.5596, allocations: 4 kB / 1.335 GB, free: 5.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.5596, allocations: 0 / 1.335 GB, free: 5.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.5597, allocations: 79.28 kB / 1.335 GB, free: 5.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/0.5597, allocations: 75.28 kB / 1.335 GB, free: 5.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0004346/0.5602, allocations: 244.2 kB / 1.336 GB, free: 5.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/0.5602, allocations: 79.28 kB / 1.336 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-05/0.5603, allocations: 87.22 kB / 1.336 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/0.5604, allocations: 154.5 kB / 1.336 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.5604, allocations: 75.28 kB / 1.336 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.06e-05/0.5605, allocations: 158.5 kB / 1.336 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.5613, allocations: 91.2 kB / 1.336 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.5613, allocations: 83.27 kB / 1.336 GB, free: 4.773 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.001192/0.5625, allocations: 0.9451 MB / 1.337 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.5628, allocations: 319.5 kB / 1.338 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.5632, allocations: 341.1 kB / 1.338 GB, free: 3.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.594e-05/0.5633, allocations: 184.2 kB / 1.338 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-05/0.5634, allocations: 180.3 kB / 1.338 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.534e-05/0.5635, allocations: 180.3 kB / 1.338 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.5648, allocations: 1.033 MB / 1.339 GB, free: 1.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-05/0.5648, allocations: 101 kB / 1.34 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.5649, allocations: 104.9 kB / 1.34 GB, free: 1.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/0.5649, allocations: 180.3 kB / 1.34 GB, free: 1.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.565, allocations: 184.2 kB / 1.34 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-05/0.5651, allocations: 180.2 kB / 1.34 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.677e-05/0.5652, allocations: 188.2 kB / 1.34 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.5657, allocations: 0.5145 MB / 1.341 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.5661, allocations: 299.5 kB / 1.341 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.5664, allocations: 184.1 kB / 1.341 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.5669, allocations: 121.4 kB / 1.341 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.567, allocations: 184.2 kB / 1.342 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.5671, allocations: 105 kB / 1.342 GB, free: 15.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003453/0.5705, allocations: 2.091 MB / 1.344 GB, free: 13 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5705, allocations: 0 / 1.344 GB, free: 13 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006121/0.5712, allocations: 176 kB / 1.344 GB, free: 12.83 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.000786/0.5719, allocations: 1.049 MB / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.786e-05/0.572, allocations: 4 kB / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.572, allocations: 0 / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.572, allocations: 3.938 kB / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006895/0.5789, allocations: 2.358 MB / 1.347 GB, free: 9.445 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/0.6028, allocations: 15.04 MB / 1.362 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.6042, allocations: 1.132 MB / 1.363 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001891/0.6061, allocations: 443.5 kB / 1.363 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008903/0.607, allocations: 0.6477 MB / 1.364 GB, free: 7.98 MB / 1.061 GB Notification: Performance of SimCode: time 1.573e-06/0.607, allocations: 0 / 1.364 GB, free: 7.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/0.7629, allocations: 78.43 MB / 1.441 GB, free: 11.1 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/18.5, allocations: 10.84 kB / 1.441 GB, free: 11.09 MB / 1.139 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.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: 26.73948103003204]