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.001449/0.001449, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001562/0.001562, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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.969/2.969, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.002172/0.002172, allocations: 63.89 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2429/1.323, allocations: 176.9 MB / 1.513 GB, free: 7.301 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003728/1.326, allocations: 1.86 MB / 1.515 GB, free: 5.438 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/1.327, allocations: 19.81 kB / 1.515 GB, free: 5.418 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008411/1.328, allocations: 222.5 kB / 1.515 GB, free: 5.199 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/1.33, allocations: 0.7817 MB / 1.516 GB, free: 4.414 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/1.332, allocations: 0.8512 MB / 1.516 GB, free: 3.562 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001324/1.333, allocations: 0.8378 MB / 1.517 GB, free: 2.723 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/1.334, allocations: 247 kB / 1.518 GB, free: 2.477 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/1.335, allocations: 0.5839 MB / 1.518 GB, free: 1.891 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/1.336, allocations: 282.8 kB / 1.518 GB, free: 1.613 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/1.336, allocations: 28 kB / 1.518 GB, free: 1.586 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/1.338, allocations: 1.165 MB / 1.52 GB, free: 428 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/1.338, allocations: 123.6 kB / 1.52 GB, free: 304 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/1.339, allocations: 206.9 kB / 1.52 GB, free: 96 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/1.341, allocations: 0.9268 MB / 1.521 GB, free: 15.16 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.341, allocations: 0 / 1.521 GB, free: 15.16 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.425e-06/1.341, allocations: 0 / 1.521 GB, free: 15.16 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.341, allocations: 0 / 1.521 GB, free: 15.16 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.002087/1.343, allocations: 0.7875 MB / 1.522 GB, free: 14.33 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.343, allocations: 15.95 kB / 1.522 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.931e-05/1.343, allocations: 8.562 kB / 1.522 GB, free: 14.3 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.993e-05/1.343, allocations: 66.53 kB / 1.522 GB, free: 14.23 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.344, allocations: 159.5 kB / 1.522 GB, free: 14.07 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/1.345, allocations: 370.1 kB / 1.522 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/1.345, allocations: 20.56 kB / 1.522 GB, free: 13.65 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/1.345, allocations: 24 kB / 1.522 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/1.346, allocations: 394.1 kB / 1.523 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.346, allocations: 0 / 1.523 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/1.346, allocations: 15.94 kB / 1.523 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/1.346, allocations: 16.5 kB / 1.523 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000784/1.347, allocations: 349.9 kB / 1.523 GB, free: 12.85 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/1.349, allocations: 1.781 MB / 1.525 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/1.35, allocations: 380.9 kB / 1.525 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/1.35, allocations: 130.1 kB / 1.525 GB, free: 10.36 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/1.351, allocations: 303.2 kB / 1.525 GB, free: 10.01 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/1.351, allocations: 34.56 kB / 1.525 GB, free: 9.965 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/1.351, allocations: 0 / 1.525 GB, free: 9.965 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001104/1.352, allocations: 391.2 kB / 1.526 GB, free: 9.578 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.352, allocations: 55.41 kB / 1.526 GB, free: 9.512 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/1.352, allocations: 361.7 kB / 1.526 GB, free: 9.156 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/1.352, allocations: 29.7 kB / 1.526 GB, free: 9.121 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/1.352, allocations: 200.3 kB / 1.526 GB, free: 8.922 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/1.352, allocations: 71.36 kB / 1.527 GB, free: 8.852 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.353, allocations: 53.69 kB / 1.527 GB, free: 8.793 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.353, allocations: 342.8 kB / 1.527 GB, free: 8.449 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/1.353, allocations: 87.92 kB / 1.527 GB, free: 8.363 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/1.353, allocations: 159.7 kB / 1.527 GB, free: 8.188 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/1.354, allocations: 260.3 kB / 1.527 GB, free: 7.914 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.354, allocations: 0 / 1.527 GB, free: 7.914 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006774/1.354, allocations: 301.3 kB / 1.528 GB, free: 7.613 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.354, allocations: 7.984 kB / 1.528 GB, free: 7.605 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.354, allocations: 4 kB / 1.528 GB, free: 7.602 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.354, allocations: 0 / 1.528 GB, free: 7.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.355, allocations: 51.91 kB / 1.528 GB, free: 7.551 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.355, allocations: 3.938 kB / 1.528 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/1.355, allocations: 35.78 kB / 1.528 GB, free: 7.512 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/1.355, allocations: 8 kB / 1.528 GB, free: 7.504 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.000249/1.355, allocations: 173.8 kB / 1.528 GB, free: 7.324 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/1.355, allocations: 35.81 kB / 1.528 GB, free: 7.289 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/1.356, allocations: 296.9 kB / 1.528 GB, free: 6.992 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.356, allocations: 4 kB / 1.528 GB, free: 6.988 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.356, allocations: 4 kB / 1.528 GB, free: 6.984 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/1.356, allocations: 3.984 kB / 1.528 GB, free: 6.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/1.358, allocations: 0.8935 MB / 1.529 GB, free: 5.996 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.358, allocations: 4 kB / 1.529 GB, free: 5.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/1.358, allocations: 43.91 kB / 1.529 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.358, allocations: 4 kB / 1.529 GB, free: 5.945 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.358, allocations: 8 kB / 1.529 GB, free: 5.938 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/1.358, allocations: 4 kB / 1.529 GB, free: 5.934 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/1.358, allocations: 4 kB / 1.529 GB, free: 5.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/1.359, allocations: 454.4 kB / 1.53 GB, free: 5.438 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/1.359, allocations: 128.9 kB / 1.53 GB, free: 5.293 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/1.359, allocations: 19.97 kB / 1.53 GB, free: 5.273 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/1.359, allocations: 8 kB / 1.53 GB, free: 5.266 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/1.359, allocations: 27.91 kB / 1.53 GB, free: 5.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/1.359, allocations: 8.094 kB / 1.53 GB, free: 5.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003516/1.36, allocations: 263.1 kB / 1.53 GB, free: 4.973 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.36, allocations: 0 / 1.53 GB, free: 4.973 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004966/1.36, allocations: 99.83 kB / 1.53 GB, free: 4.875 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.001321/1.362, allocations: 1.03 MB / 1.531 GB, free: 3.781 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006258/1.362, allocations: 241.4 kB / 1.531 GB, free: 3.547 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.362, allocations: 3.938 kB / 1.531 GB, free: 3.543 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/1.362, allocations: 120.5 kB / 1.532 GB, free: 3.426 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.364, allocations: 220.6 kB / 1.532 GB, free: 3.215 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/1.369, allocations: 3.301 MB / 1.535 GB, free: 15.74 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/1.369, allocations: 0.7997 MB / 1.536 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003861/1.37, allocations: 83.23 kB / 1.536 GB, free: 14.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.37, allocations: 123.3 kB / 1.536 GB, free: 14.71 MB / 1.217 GB Notification: Performance of SimCode: time 9.72e-07/1.37, allocations: 0 / 1.536 GB, free: 14.71 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/1.405, allocations: 10.87 MB / 1.547 GB, free: 4.09 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/10.04, allocations: 12.19 kB / 1.547 GB, free: 4.082 MB / 1.217 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 840.0] 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: 16.691323827020824]