Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001332/0.001332, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001462/0.001462, allocations: 156.9 kB / 23.01 MB, free: 4.605 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.87/2.87, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [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.002423/0.002423, allocations: 71.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.968/0.9705, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2086/1.179, allocations: 153.1 MB / 1.336 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003435/1.183, allocations: 1.746 MB / 1.338 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/1.183, allocations: 27.75 kB / 1.338 GB, free: 11.01 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008095/1.184, allocations: 214.5 kB / 1.338 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/1.186, allocations: 0.77 MB / 1.339 GB, free: 10.02 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/1.188, allocations: 0.8452 MB / 1.34 GB, free: 9.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001027/1.189, allocations: 0.8572 MB / 1.34 GB, free: 8.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/1.189, allocations: 239.4 kB / 1.341 GB, free: 8.086 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/1.19, allocations: 0.5995 MB / 1.341 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/1.191, allocations: 266.8 kB / 1.341 GB, free: 7.223 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/1.191, allocations: 24 kB / 1.342 GB, free: 7.199 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/1.192, allocations: 0.892 MB / 1.342 GB, free: 6.305 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/1.192, allocations: 127.6 kB / 1.343 GB, free: 6.18 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/1.193, allocations: 159.3 kB / 1.343 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/1.194, allocations: 0.88 MB / 1.344 GB, free: 5.141 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.194, allocations: 0 / 1.344 GB, free: 5.141 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/1.194, allocations: 0 / 1.344 GB, free: 5.141 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.194, allocations: 3.938 kB / 1.344 GB, free: 5.137 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001693/1.195, allocations: 0.7224 MB / 1.344 GB, free: 4.383 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.195, allocations: 8.031 kB / 1.344 GB, free: 4.375 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.197, allocations: 155.5 kB / 1.344 GB, free: 4.223 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/1.197, allocations: 307.6 kB / 1.345 GB, free: 3.898 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.197, allocations: 20.66 kB / 1.345 GB, free: 3.879 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/1.197, allocations: 28 kB / 1.345 GB, free: 3.852 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/1.198, allocations: 399.5 kB / 1.345 GB, free: 3.438 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.198, allocations: 0 / 1.345 GB, free: 3.438 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/1.198, allocations: 12 kB / 1.345 GB, free: 3.426 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.198, allocations: 16.59 kB / 1.345 GB, free: 3.41 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/1.199, allocations: 342.3 kB / 1.345 GB, free: 3.074 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/1.201, allocations: 1.23 MB / 1.347 GB, free: 1.785 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/1.201, allocations: 226.6 kB / 1.347 GB, free: 1.555 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/1.201, allocations: 136.8 kB / 1.347 GB, free: 1.418 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/1.202, allocations: 67.92 kB / 1.347 GB, free: 1.352 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.202, allocations: 38.5 kB / 1.347 GB, free: 1.305 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/1.202, allocations: 4 kB / 1.347 GB, free: 1.301 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.00099/1.203, allocations: 375.3 kB / 1.347 GB, free: 0.9297 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.203, allocations: 55.41 kB / 1.348 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/1.203, allocations: 268.2 kB / 1.348 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/1.203, allocations: 29.7 kB / 1.348 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.204, allocations: 204.5 kB / 1.348 GB, free: 368 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/1.204, allocations: 83.31 kB / 1.348 GB, free: 284 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/1.204, allocations: 49.69 kB / 1.348 GB, free: 228 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.204, allocations: 342.8 kB / 1.348 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/1.204, allocations: 91.92 kB / 1.349 GB, free: 15.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/1.204, allocations: 231.6 kB / 1.349 GB, free: 15.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/1.205, allocations: 249.8 kB / 1.349 GB, free: 15.26 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.205, allocations: 7.875 kB / 1.349 GB, free: 15.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006052/1.206, allocations: 295.1 kB / 1.349 GB, free: 14.96 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.206, allocations: 8.125 kB / 1.349 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/1.206, allocations: 8 kB / 1.349 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.206, allocations: 4 kB / 1.349 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/1.206, allocations: 47.97 kB / 1.349 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.206, allocations: 3.938 kB / 1.349 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.206, allocations: 27.88 kB / 1.349 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/1.206, allocations: 11.98 kB / 1.349 GB, free: 14.85 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.0001643/1.206, allocations: 154.4 kB / 1.35 GB, free: 14.69 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/1.206, allocations: 31.81 kB / 1.35 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/1.207, allocations: 303.6 kB / 1.35 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.207, allocations: 4 kB / 1.35 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.207, allocations: 0 / 1.35 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.207, allocations: 0 / 1.35 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.208, allocations: 0.7918 MB / 1.351 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.208, allocations: 4 kB / 1.351 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/1.209, allocations: 39.91 kB / 1.351 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.209, allocations: 7.938 kB / 1.351 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/1.209, allocations: 8 kB / 1.351 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.209, allocations: 4 kB / 1.351 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.209, allocations: 7.938 kB / 1.351 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/1.209, allocations: 442.5 kB / 1.351 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/1.209, allocations: 55.72 kB / 1.351 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/1.209, allocations: 11.94 kB / 1.351 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/1.21, allocations: 11.98 kB / 1.351 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/1.21, allocations: 19.97 kB / 1.351 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.21, allocations: 11.94 kB / 1.351 GB, free: 12.82 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002253/1.21, allocations: 191.1 kB / 1.351 GB, free: 12.63 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.21, allocations: 4 kB / 1.351 GB, free: 12.63 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004573/1.21, allocations: 111.8 kB / 1.352 GB, free: 12.52 MB / 1.201 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.0002568/1.211, allocations: 167 kB / 1.352 GB, free: 12.35 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000564/1.211, allocations: 233.9 kB / 1.352 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.211, allocations: 4 kB / 1.352 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/1.212, allocations: 127.7 kB / 1.352 GB, free: 11.99 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/1.212, allocations: 148.4 kB / 1.352 GB, free: 11.86 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.213, allocations: 0.6216 MB / 1.353 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/1.214, allocations: 193.1 kB / 1.353 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002538/1.214, allocations: 78.92 kB / 1.353 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/1.214, allocations: 32.48 kB / 1.353 GB, free: 10.86 MB / 1.201 GB Notification: Performance of SimCode: time 4e-07/1.214, allocations: 0 / 1.353 GB, free: 10.86 MB / 1.201 GB Notification: Performance of Templates: time 0.01172/1.226, allocations: 5.752 MB / 1.359 GB, free: 5.254 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.15222615096718]