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.001786/0.001786, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002417/0.002417, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.104/3.104, allocations: 0.49 GB / 0.7959 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_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.001997/0.001997, allocations: 68.23 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1994/0.5463, allocations: 177.1 MB / 1.5 GB, free: 188 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.5496, allocations: 1.852 MB / 1.501 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.55, allocations: 19.81 kB / 1.501 GB, free: 14.31 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.5508, allocations: 230.5 kB / 1.502 GB, free: 14.08 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.5527, allocations: 0.7906 MB / 1.502 GB, free: 13.29 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.5549, allocations: 0.8871 MB / 1.503 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5561, allocations: 0.8612 MB / 1.504 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.5566, allocations: 231.6 kB / 1.504 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.5577, allocations: 0.5917 MB / 1.505 GB, free: 10.71 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.5581, allocations: 278.8 kB / 1.505 GB, free: 10.44 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.5581, allocations: 24 kB / 1.505 GB, free: 10.42 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.5602, allocations: 1.192 MB / 1.506 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.5604, allocations: 127.6 kB / 1.506 GB, free: 9.098 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.5606, allocations: 199 kB / 1.507 GB, free: 8.902 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.5622, allocations: 0.919 MB / 1.508 GB, free: 7.98 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5622, allocations: 0 / 1.508 GB, free: 7.98 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5622, allocations: 0 / 1.508 GB, free: 7.98 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5622, allocations: 4 kB / 1.508 GB, free: 7.977 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.001741/0.5639, allocations: 0.7184 MB / 1.508 GB, free: 7.227 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.564, allocations: 8.031 kB / 1.508 GB, free: 7.219 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.564, allocations: 8.656 kB / 1.508 GB, free: 7.211 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.966e-05/0.564, allocations: 62.53 kB / 1.508 GB, free: 7.141 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5651, allocations: 171.5 kB / 1.509 GB, free: 6.973 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.5657, allocations: 303.6 kB / 1.509 GB, free: 6.648 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.5657, allocations: 20.66 kB / 1.509 GB, free: 6.629 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.5658, allocations: 24 kB / 1.509 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.5665, allocations: 391.5 kB / 1.509 GB, free: 6.199 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5665, allocations: 3.938 kB / 1.509 GB, free: 6.195 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.5665, allocations: 23.88 kB / 1.509 GB, free: 6.172 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.5666, allocations: 16.64 kB / 1.509 GB, free: 6.156 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.5673, allocations: 342.3 kB / 1.51 GB, free: 5.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.5694, allocations: 1.742 MB / 1.511 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.5699, allocations: 222.6 kB / 1.512 GB, free: 3.691 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.5702, allocations: 144.8 kB / 1.512 GB, free: 3.547 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/0.5706, allocations: 67.92 kB / 1.512 GB, free: 3.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.5706, allocations: 38.56 kB / 1.512 GB, free: 3.434 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.5706, allocations: 3.938 kB / 1.512 GB, free: 3.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.0009845/0.5716, allocations: 386.6 kB / 1.512 GB, free: 3.047 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.5717, allocations: 55.41 kB / 1.512 GB, free: 2.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.5721, allocations: 357.7 kB / 1.513 GB, free: 2.625 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.5721, allocations: 29.7 kB / 1.513 GB, free: 2.59 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.5722, allocations: 200.3 kB / 1.513 GB, free: 2.391 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.5723, allocations: 75.36 kB / 1.513 GB, free: 2.316 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.5724, allocations: 45.7 kB / 1.513 GB, free: 2.266 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5726, allocations: 350.7 kB / 1.513 GB, free: 1.914 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.5728, allocations: 87.94 kB / 1.513 GB, free: 1.828 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.5731, allocations: 163.6 kB / 1.513 GB, free: 1.648 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.5735, allocations: 253 kB / 1.514 GB, free: 1.383 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5735, allocations: 0 / 1.514 GB, free: 1.383 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006182/0.5742, allocations: 305.2 kB / 1.514 GB, free: 1.078 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5742, allocations: 8 kB / 1.514 GB, free: 1.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5742, allocations: 7.922 kB / 1.514 GB, free: 1.062 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5742, allocations: 8.188 kB / 1.514 GB, free: 1.055 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.5744, allocations: 47.91 kB / 1.514 GB, free: 1.008 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5745, allocations: 7.938 kB / 1.514 GB, free: 1 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.5747, allocations: 39.77 kB / 1.514 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.5747, allocations: 11.98 kB / 1.514 GB, free: 0.9492 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.0001709/0.5749, allocations: 161.8 kB / 1.514 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.575, allocations: 35.77 kB / 1.514 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.5756, allocations: 306 kB / 1.515 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5756, allocations: 0 / 1.515 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5756, allocations: 0 / 1.515 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5756, allocations: 0 / 1.515 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5771, allocations: 0.8691 MB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5771, allocations: 4.344 kB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.5773, allocations: 43.91 kB / 1.515 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5773, allocations: 4 kB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5773, allocations: 12 kB / 1.515 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5773, allocations: 4 kB / 1.515 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5773, allocations: 4.031 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.5779, allocations: 452.4 kB / 1.516 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.5781, allocations: 59.67 kB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.5781, allocations: 8 kB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.5784, allocations: 15.98 kB / 1.516 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.5784, allocations: 23.91 kB / 1.516 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.5784, allocations: 8 kB / 1.516 GB, free: 14.81 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000295/0.5787, allocations: 263.1 kB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5787, allocations: 0 / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004664/0.5792, allocations: 103.9 kB / 1.516 GB, free: 14.45 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.001099/0.5803, allocations: 1.028 MB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005777/0.5809, allocations: 243.9 kB / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5809, allocations: 0 / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.5811, allocations: 119.7 kB / 1.518 GB, free: 13.01 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5823, allocations: 216.7 kB / 1.518 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.5868, allocations: 3.31 MB / 1.521 GB, free: 9.316 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.5873, allocations: 0.7997 MB / 1.522 GB, free: 8.492 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000332/0.5876, allocations: 95.2 kB / 1.522 GB, free: 8.398 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5878, allocations: 107.4 kB / 1.522 GB, free: 8.293 MB / 1.217 GB Notification: Performance of SimCode: time 1.232e-06/0.5878, allocations: 4 kB / 1.522 GB, free: 8.289 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.6216, allocations: 11.1 MB / 1.533 GB, free: 13.47 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.32, allocations: 9.094 kB / 1.533 GB, free: 13.46 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: 19.04099002701696]