Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001807/0.001807, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002304/0.002304, allocations: 216 kB / 22.25 MB, free: 5.074 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.675/1.675, allocations: 230.6 MB / 256 MB, free: 8.031 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.216/3.216, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",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.001983/0.001983, allocations: 74.14 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2051/0.5567, allocations: 177.1 MB / 1.499 GB, free: 216 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004046/0.5608, allocations: 1.851 MB / 1.501 GB, free: 14.35 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.5612, allocations: 19.81 kB / 1.501 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.562, allocations: 230.5 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.5642, allocations: 0.7856 MB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.5665, allocations: 0.8874 MB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.5677, allocations: 0.8534 MB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.5681, allocations: 235.6 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.5693, allocations: 0.5878 MB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.5697, allocations: 282.8 kB / 1.504 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.5697, allocations: 28 kB / 1.504 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.5716, allocations: 1.188 MB / 1.506 GB, free: 9.254 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.5717, allocations: 123.6 kB / 1.506 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.5719, allocations: 207 kB / 1.506 GB, free: 8.93 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.5733, allocations: 0.9227 MB / 1.507 GB, free: 8.008 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5733, allocations: 0 / 1.507 GB, free: 8.008 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5733, allocations: 0 / 1.507 GB, free: 8.008 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.5733, allocations: 0 / 1.507 GB, free: 8.008 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001622/0.5749, allocations: 0.7185 MB / 1.508 GB, free: 7.258 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5749, allocations: 12.03 kB / 1.508 GB, free: 7.246 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.381e-05/0.575, allocations: 62.55 kB / 1.508 GB, free: 7.176 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009654/0.576, allocations: 171.4 kB / 1.508 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.5766, allocations: 295.7 kB / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.5766, allocations: 20.66 kB / 1.508 GB, free: 6.672 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.5767, allocations: 32 kB / 1.508 GB, free: 6.641 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.5774, allocations: 391.5 kB / 1.508 GB, free: 6.234 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5774, allocations: 0 / 1.508 GB, free: 6.234 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.5774, allocations: 12 kB / 1.508 GB, free: 6.223 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.5775, allocations: 24.47 kB / 1.509 GB, free: 6.199 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.5781, allocations: 346.3 kB / 1.509 GB, free: 5.863 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.5803, allocations: 1.75 MB / 1.511 GB, free: 3.949 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.5808, allocations: 222.7 kB / 1.511 GB, free: 3.723 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.5811, allocations: 133.9 kB / 1.511 GB, free: 3.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/0.5815, allocations: 75.92 kB / 1.511 GB, free: 3.516 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.5816, allocations: 30.56 kB / 1.511 GB, free: 3.477 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5816, allocations: 0 / 1.511 GB, free: 3.477 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.0009894/0.5826, allocations: 394.7 kB / 1.511 GB, free: 3.086 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.5826, allocations: 59.41 kB / 1.511 GB, free: 3.016 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.583, allocations: 349.7 kB / 1.512 GB, free: 2.668 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.5831, allocations: 29.7 kB / 1.512 GB, free: 2.633 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.5832, allocations: 200.3 kB / 1.512 GB, free: 2.434 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.5833, allocations: 75.38 kB / 1.512 GB, free: 2.359 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5834, allocations: 53.69 kB / 1.512 GB, free: 2.301 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5836, allocations: 346.8 kB / 1.512 GB, free: 1.953 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.5838, allocations: 91.92 kB / 1.513 GB, free: 1.863 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5841, allocations: 151.7 kB / 1.513 GB, free: 1.695 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.5846, allocations: 255.3 kB / 1.513 GB, free: 1.426 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5846, allocations: 4 kB / 1.513 GB, free: 1.422 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006011/0.5852, allocations: 298.2 kB / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5852, allocations: 8 kB / 1.513 GB, free: 1.117 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5852, allocations: 0 / 1.513 GB, free: 1.117 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5852, allocations: 4 kB / 1.513 GB, free: 1.113 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.5855, allocations: 55.89 kB / 1.513 GB, free: 1.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5855, allocations: 12.12 kB / 1.513 GB, free: 1.047 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.5857, allocations: 31.77 kB / 1.513 GB, free: 1.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5858, allocations: 12 kB / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001912/0.586, allocations: 165.7 kB / 1.513 GB, free: 0.832 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.586, allocations: 35.77 kB / 1.514 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.5867, allocations: 298.9 kB / 1.514 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5867, allocations: 8 kB / 1.514 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5867, allocations: 0 / 1.514 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5867, allocations: 3.938 kB / 1.514 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.5881, allocations: 0.8731 MB / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5881, allocations: 0 / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.5883, allocations: 47.91 kB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5884, allocations: 4.344 kB / 1.515 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5884, allocations: 8 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.5884, allocations: 7.984 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5884, allocations: 4 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.589, allocations: 448.5 kB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.5892, allocations: 63.67 kB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.5892, allocations: 8 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.5895, allocations: 11.98 kB / 1.515 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.5895, allocations: 23.86 kB / 1.515 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.5896, allocations: 11.98 kB / 1.515 GB, free: 14.85 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003052/0.5899, allocations: 255.2 kB / 1.516 GB, free: 14.6 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5899, allocations: 4 kB / 1.516 GB, free: 14.6 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004662/0.5903, allocations: 103.8 kB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.001117/0.5914, allocations: 1.035 MB / 1.517 GB, free: 13.4 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.592, allocations: 229.9 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.592, allocations: 4.312 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.5923, allocations: 123.8 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5933, allocations: 219.2 kB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.5977, allocations: 3.305 MB / 1.52 GB, free: 9.359 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.5981, allocations: 0.7957 MB / 1.521 GB, free: 8.535 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.5984, allocations: 91.22 kB / 1.521 GB, free: 8.445 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.5986, allocations: 119.4 kB / 1.521 GB, free: 8.328 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/0.5986, allocations: 0 / 1.521 GB, free: 8.328 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04535/0.644, allocations: 11.06 MB / 1.532 GB, free: 13.54 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.95, allocations: 11.08 kB / 1.532 GB, free: 13.53 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 18.88886370602995]