Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.002037/0.002037, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002617/0.002617, allocations: 216 kB / 22.25 MB, free: 5.125 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.322/3.322, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [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.002131/0.002131, allocations: 73.19 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3989, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2239/0.6228, allocations: 165.1 MB / 1.488 GB, free: 11.76 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003797/0.6266, allocations: 1.716 MB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005295/0.6271, allocations: 19.81 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008136/0.6279, allocations: 159 kB / 1.489 GB, free: 9.867 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.6298, allocations: 0.5416 MB / 1.49 GB, free: 9.324 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.6315, allocations: 448 kB / 1.49 GB, free: 8.891 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.6327, allocations: 0.581 MB / 1.491 GB, free: 8.309 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.6332, allocations: 148.5 kB / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.6348, allocations: 486.2 kB / 1.492 GB, free: 7.688 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.6353, allocations: 167.2 kB / 1.492 GB, free: 7.523 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.6353, allocations: 16 kB / 1.492 GB, free: 7.508 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.6368, allocations: 0.7093 MB / 1.492 GB, free: 6.797 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.637, allocations: 83.73 kB / 1.492 GB, free: 6.715 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.6372, allocations: 123.3 kB / 1.493 GB, free: 6.594 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.6385, allocations: 0.4943 MB / 1.493 GB, free: 6.098 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6385, allocations: 4 kB / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6385, allocations: 0 / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.6385, allocations: 0 / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001329/0.6399, allocations: 0.5196 MB / 1.494 GB, free: 5.543 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6399, allocations: 12.03 kB / 1.494 GB, free: 5.531 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.6404, allocations: 55.78 kB / 1.494 GB, free: 5.477 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.641, allocations: 232.1 kB / 1.494 GB, free: 5.223 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.641, allocations: 19.98 kB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.641, allocations: 16 kB / 1.494 GB, free: 5.188 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.6414, allocations: 188.1 kB / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6415, allocations: 0 / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.6415, allocations: 15.88 kB / 1.494 GB, free: 4.973 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.6415, allocations: 4 kB / 1.494 GB, free: 4.969 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.6418, allocations: 135.8 kB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.6431, allocations: 0.7488 MB / 1.495 GB, free: 4.023 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.6434, allocations: 82.53 kB / 1.495 GB, free: 3.934 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.6436, allocations: 72.86 kB / 1.495 GB, free: 3.859 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.6438, allocations: 31.98 kB / 1.495 GB, free: 3.828 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.6439, allocations: 38.56 kB / 1.495 GB, free: 3.781 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.6439, allocations: 0 / 1.495 GB, free: 3.781 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007637/0.6446, allocations: 225.3 kB / 1.495 GB, free: 3.555 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.6447, allocations: 55.34 kB / 1.495 GB, free: 3.488 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.645, allocations: 268.2 kB / 1.496 GB, free: 3.215 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.645, allocations: 37.7 kB / 1.496 GB, free: 3.172 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.6452, allocations: 148 kB / 1.496 GB, free: 3.023 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.6452, allocations: 39.67 kB / 1.496 GB, free: 2.984 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.6453, allocations: 29.72 kB / 1.496 GB, free: 2.949 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6455, allocations: 330.8 kB / 1.496 GB, free: 2.617 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6456, allocations: 44.83 kB / 1.496 GB, free: 2.57 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.6458, allocations: 97.09 kB / 1.496 GB, free: 2.457 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.6461, allocations: 115.3 kB / 1.496 GB, free: 2.332 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6461, allocations: 0 / 1.496 GB, free: 2.332 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003911/0.6465, allocations: 165.3 kB / 1.497 GB, free: 2.164 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6465, allocations: 8 kB / 1.497 GB, free: 2.156 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6465, allocations: 0 / 1.497 GB, free: 2.156 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.6465, allocations: 3.938 kB / 1.497 GB, free: 2.152 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.6467, allocations: 20.55 kB / 1.497 GB, free: 2.133 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6467, allocations: 4 kB / 1.497 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.6469, allocations: 27.86 kB / 1.497 GB, free: 2.102 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.6469, allocations: 8.031 kB / 1.497 GB, free: 2.094 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002337/0.6471, allocations: 148.1 kB / 1.497 GB, free: 1.945 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001936/0.6473, allocations: 96.97 kB / 1.497 GB, free: 1.832 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002672/0.6476, allocations: 123.5 kB / 1.497 GB, free: 1.699 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.6476, allocations: 0 / 1.497 GB, free: 1.699 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003917/0.648, allocations: 157.3 kB / 1.497 GB, free: 1.539 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.648, allocations: 8 kB / 1.497 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.648, allocations: 0 / 1.497 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.648, allocations: 7.938 kB / 1.497 GB, free: 1.523 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.6481, allocations: 27.95 kB / 1.497 GB, free: 1.496 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.6481, allocations: 0 / 1.497 GB, free: 1.496 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.6483, allocations: 15.98 kB / 1.497 GB, free: 1.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.6483, allocations: 4 kB / 1.497 GB, free: 1.477 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001542/0.6485, allocations: 188.2 kB / 1.497 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.6485, allocations: 23.86 kB / 1.497 GB, free: 1.262 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.6489, allocations: 167.2 kB / 1.498 GB, free: 1.09 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.649, allocations: 4 kB / 1.498 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.649, allocations: 3.984 kB / 1.498 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.649, allocations: 0 / 1.498 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.65, allocations: 0.5616 MB / 1.498 GB, free: 460 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.65, allocations: 0 / 1.498 GB, free: 460 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.6501, allocations: 27.92 kB / 1.498 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6501, allocations: 0 / 1.498 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.6501, allocations: 4.125 kB / 1.498 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.6501, allocations: 8 kB / 1.498 GB, free: 420 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6501, allocations: 224 / 1.498 GB, free: 420 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.6506, allocations: 301.2 kB / 1.499 GB, free: 80 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6507, allocations: 40.2 kB / 1.499 GB, free: 40 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.6507, allocations: 4 kB / 1.499 GB, free: 36 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6509, allocations: 11.98 kB / 1.499 GB, free: 24 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.651, allocations: 20.05 kB / 1.499 GB, free: 4 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.651, allocations: 7.984 kB / 1.499 GB, free: 15.99 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000227/0.6512, allocations: 203 kB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6512, allocations: 0 / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000495/0.6517, allocations: 95.83 kB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0003355/0.652, allocations: 147.1 kB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005125/0.6526, allocations: 163.7 kB / 1.499 GB, free: 15.39 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6526, allocations: 0 / 1.499 GB, free: 15.39 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.6527, allocations: 64.02 kB / 1.499 GB, free: 15.33 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.6535, allocations: 113.2 kB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.6544, allocations: 460.9 kB / 1.5 GB, free: 14.72 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6549, allocations: 0.7558 MB / 1.501 GB, free: 13.94 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.6552, allocations: 66.88 kB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.6552, allocations: 19.44 kB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of SimCode: time 5.41e-07/0.6552, allocations: 4 kB / 1.501 GB, free: 13.85 MB / 1.201 GB Notification: Performance of Templates: time 0.01123/0.6664, allocations: 4.485 MB / 1.505 GB, free: 9.43 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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: 9.951289521995932]