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.001781/0.001781, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002098/0.002098, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.156/3.156, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_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.00209/0.00209, allocations: 68.14 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1957/0.5494, allocations: 153.1 MB / 1.513 GB, free: 4.48 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00356/0.553, allocations: 1.753 MB / 1.515 GB, free: 2.723 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.5535, allocations: 19.81 kB / 1.515 GB, free: 2.703 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.5543, allocations: 222.5 kB / 1.515 GB, free: 2.484 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.5565, allocations: 0.77 MB / 1.516 GB, free: 1.711 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.5588, allocations: 0.8507 MB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.5601, allocations: 0.8571 MB / 1.517 GB, free: 0 / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.5607, allocations: 231.8 kB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.5621, allocations: 0.5917 MB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.5626, allocations: 266.8 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.5627, allocations: 24 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.5647, allocations: 0.8882 MB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.5649, allocations: 131.5 kB / 1.519 GB, free: 13.87 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.5652, allocations: 167.3 kB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.5672, allocations: 0.8761 MB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5672, allocations: 0 / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5672, allocations: 0 / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.5672, allocations: 0 / 1.52 GB, free: 12.83 MB / 1.217 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.00202/0.5692, allocations: 0.7262 MB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5693, allocations: 8.031 kB / 1.521 GB, free: 12.06 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.907e-05/0.5694, allocations: 62.55 kB / 1.521 GB, free: 11.99 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5704, allocations: 163.5 kB / 1.521 GB, free: 11.83 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.5712, allocations: 295.7 kB / 1.522 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.5712, allocations: 20.66 kB / 1.522 GB, free: 11.5 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.5713, allocations: 28 kB / 1.522 GB, free: 11.47 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.5721, allocations: 399.5 kB / 1.522 GB, free: 11.06 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.5721, allocations: 3.938 kB / 1.522 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.5721, allocations: 12 kB / 1.522 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.5722, allocations: 20.53 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.5729, allocations: 342.3 kB / 1.522 GB, free: 10.69 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.5752, allocations: 1.304 MB / 1.524 GB, free: 9.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.5758, allocations: 230.6 kB / 1.524 GB, free: 9.086 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.5761, allocations: 135.4 kB / 1.524 GB, free: 8.953 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/0.5766, allocations: 71.91 kB / 1.524 GB, free: 8.883 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.5766, allocations: 34.56 kB / 1.524 GB, free: 8.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/0.5766, allocations: 4 kB / 1.524 GB, free: 8.836 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001087/0.5777, allocations: 387.1 kB / 1.524 GB, free: 8.453 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.5778, allocations: 51.41 kB / 1.524 GB, free: 8.391 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.5782, allocations: 365.6 kB / 1.525 GB, free: 8.027 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5783, allocations: 29.7 kB / 1.525 GB, free: 7.992 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5785, allocations: 204.4 kB / 1.525 GB, free: 7.789 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.5785, allocations: 71.39 kB / 1.525 GB, free: 7.719 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.5786, allocations: 41.7 kB / 1.525 GB, free: 7.672 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5788, allocations: 354.7 kB / 1.525 GB, free: 7.316 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.5791, allocations: 87.92 kB / 1.526 GB, free: 7.23 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.5794, allocations: 230.3 kB / 1.526 GB, free: 6.969 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.5799, allocations: 256.3 kB / 1.526 GB, free: 6.699 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5799, allocations: 0 / 1.526 GB, free: 6.699 MB / 1.217 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006327/0.5806, allocations: 305.1 kB / 1.526 GB, free: 6.395 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5806, allocations: 8 kB / 1.526 GB, free: 6.387 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5806, allocations: 8.188 kB / 1.526 GB, free: 6.379 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.5806, allocations: 4 kB / 1.526 GB, free: 6.375 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.5809, allocations: 47.91 kB / 1.526 GB, free: 6.328 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5809, allocations: 4 kB / 1.526 GB, free: 6.324 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.5811, allocations: 39.75 kB / 1.526 GB, free: 6.285 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.5812, allocations: 8 kB / 1.526 GB, free: 6.277 MB / 1.217 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.0001778/0.5813, allocations: 157.7 kB / 1.527 GB, free: 6.113 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.5814, allocations: 39.77 kB / 1.527 GB, free: 6.074 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.5821, allocations: 310.6 kB / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5821, allocations: 0 / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5821, allocations: 0 / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5821, allocations: 4 kB / 1.527 GB, free: 5.762 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.5837, allocations: 0.8302 MB / 1.528 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5837, allocations: 4 kB / 1.528 GB, free: 4.844 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.5839, allocations: 47.91 kB / 1.528 GB, free: 4.797 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.5839, allocations: 7.938 kB / 1.528 GB, free: 4.789 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.5839, allocations: 7.984 kB / 1.528 GB, free: 4.781 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.5839, allocations: 4 kB / 1.528 GB, free: 4.777 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.5839, allocations: 7.938 kB / 1.528 GB, free: 4.77 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.5846, allocations: 460.7 kB / 1.528 GB, free: 4.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.5847, allocations: 55.73 kB / 1.528 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.5848, allocations: 8 kB / 1.528 GB, free: 4.207 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.585, allocations: 11.98 kB / 1.528 GB, free: 4.195 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.5851, allocations: 27.94 kB / 1.528 GB, free: 4.168 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.5851, allocations: 12 kB / 1.528 GB, free: 4.156 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003094/0.5854, allocations: 255.2 kB / 1.529 GB, free: 3.91 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5854, allocations: 4 kB / 1.529 GB, free: 3.906 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004594/0.5859, allocations: 103.8 kB / 1.529 GB, free: 3.805 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.001179/0.5871, allocations: 1.024 MB / 1.53 GB, free: 2.719 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.5877, allocations: 235.6 kB / 1.53 GB, free: 2.488 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/0.5877, allocations: 0 / 1.53 GB, free: 2.488 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.588, allocations: 128.5 kB / 1.53 GB, free: 2.363 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.5891, allocations: 226.9 kB / 1.53 GB, free: 2.145 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.5939, allocations: 3.299 MB / 1.533 GB, free: 14.67 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.5941, allocations: 189.8 kB / 1.534 GB, free: 14.46 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.5944, allocations: 87.23 kB / 1.534 GB, free: 14.38 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.5946, allocations: 119.4 kB / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of SimCode: time 4.71e-07/0.5946, allocations: 0 / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.6399, allocations: 12.16 MB / 1.546 GB, free: 2.422 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.7, allocations: 16.36 kB / 1.546 GB, free: 2.414 MB / 1.232 GB " [Timeout remaining time 288] (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: 18.399976360611618]