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.001707/0.001707, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002008/0.002008, allocations: 214.8 kB / 23.04 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8 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.267/3.267, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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="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.001942/0.001942, allocations: 64.88 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3183, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2051/0.5234, allocations: 177.1 MB / 1.518 GB, free: 14.65 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.5268, allocations: 1.862 MB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.5272, allocations: 19.81 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007407/0.5279, allocations: 222.5 kB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.5298, allocations: 0.7911 MB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.5318, allocations: 0.8844 MB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.533, allocations: 0.8573 MB / 1.523 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.5334, allocations: 239.6 kB / 1.523 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5347, allocations: 0.5878 MB / 1.524 GB, free: 9.184 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.535, allocations: 278.8 kB / 1.524 GB, free: 8.91 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.5351, allocations: 28 kB / 1.524 GB, free: 8.883 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.5371, allocations: 1.188 MB / 1.525 GB, free: 7.691 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.5373, allocations: 127.6 kB / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.5375, allocations: 199 kB / 1.525 GB, free: 7.371 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.539, allocations: 0.919 MB / 1.526 GB, free: 6.449 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.539, allocations: 0 / 1.526 GB, free: 6.449 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.253e-06/0.539, allocations: 0 / 1.526 GB, free: 6.449 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.539, allocations: 8 kB / 1.526 GB, free: 6.441 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.001705/0.5407, allocations: 0.7198 MB / 1.527 GB, free: 5.691 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5407, allocations: 8.031 kB / 1.527 GB, free: 5.684 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.529e-05/0.5407, allocations: 12.59 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.5408, allocations: 58.55 kB / 1.527 GB, free: 5.602 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5418, allocations: 167.5 kB / 1.527 GB, free: 5.438 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.5425, allocations: 295.7 kB / 1.527 GB, free: 5.125 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5425, allocations: 24.59 kB / 1.528 GB, free: 5.102 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.5425, allocations: 28 kB / 1.528 GB, free: 5.074 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.5433, allocations: 395.5 kB / 1.528 GB, free: 4.668 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5433, allocations: 0 / 1.528 GB, free: 4.668 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.5433, allocations: 15.94 kB / 1.528 GB, free: 4.652 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.5434, allocations: 12.66 kB / 1.528 GB, free: 4.637 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.5441, allocations: 354.2 kB / 1.528 GB, free: 4.293 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.5462, allocations: 1.735 MB / 1.53 GB, free: 2.398 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.5467, allocations: 230.6 kB / 1.53 GB, free: 2.164 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.547, allocations: 140.8 kB / 1.53 GB, free: 2.023 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.5474, allocations: 71.91 kB / 1.53 GB, free: 1.953 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.5475, allocations: 34.56 kB / 1.53 GB, free: 1.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.5475, allocations: 0 / 1.53 GB, free: 1.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001012/0.5485, allocations: 394.3 kB / 1.531 GB, free: 1.52 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.5485, allocations: 55.41 kB / 1.531 GB, free: 1.453 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.5489, allocations: 353.7 kB / 1.531 GB, free: 1.102 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.549, allocations: 25.7 kB / 1.531 GB, free: 1.07 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.5491, allocations: 208.3 kB / 1.531 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.5492, allocations: 71.38 kB / 1.531 GB, free: 0.793 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.5493, allocations: 49.69 kB / 1.532 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5495, allocations: 346.8 kB / 1.532 GB, free: 400 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.5497, allocations: 91.92 kB / 1.532 GB, free: 308 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5499, allocations: 153.9 kB / 1.532 GB, free: 132 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.5505, allocations: 259.3 kB / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5505, allocations: 0 / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006101/0.5511, allocations: 299.1 kB / 1.533 GB, free: 15.56 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5511, allocations: 5.562 kB / 1.533 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5511, allocations: 4 kB / 1.533 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.5511, allocations: 8.172 kB / 1.533 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.5514, allocations: 51.91 kB / 1.533 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5514, allocations: 0 / 1.533 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.5516, allocations: 43.66 kB / 1.533 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.5517, allocations: 8 kB / 1.533 GB, free: 15.44 MB / 1.232 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.0001852/0.5519, allocations: 165.7 kB / 1.533 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.5519, allocations: 35.8 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.5526, allocations: 296.8 kB / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5526, allocations: 4 kB / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5526, allocations: 0 / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5526, allocations: 0 / 1.533 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.554, allocations: 0.8769 MB / 1.534 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.554, allocations: 0 / 1.534 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.5542, allocations: 48.25 kB / 1.534 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5543, allocations: 4 kB / 1.534 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5543, allocations: 8 kB / 1.534 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.5543, allocations: 7.984 kB / 1.534 GB, free: 13.9 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5543, allocations: 4 kB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.5549, allocations: 458.8 kB / 1.535 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5551, allocations: 55.77 kB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.5551, allocations: 15.98 kB / 1.535 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.5554, allocations: 15.98 kB / 1.535 GB, free: 13.31 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.5554, allocations: 15.92 kB / 1.535 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.5554, allocations: 15.98 kB / 1.535 GB, free: 13.28 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000304/0.5557, allocations: 259.2 kB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5557, allocations: 3.938 kB / 1.535 GB, free: 13.03 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004557/0.5562, allocations: 95.89 kB / 1.535 GB, free: 12.94 MB / 1.232 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.001157/0.5574, allocations: 1.03 MB / 1.536 GB, free: 11.84 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.558, allocations: 237.9 kB / 1.536 GB, free: 11.61 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.558, allocations: 0 / 1.536 GB, free: 11.61 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.5582, allocations: 123.7 kB / 1.536 GB, free: 11.49 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5594, allocations: 216.2 kB / 1.537 GB, free: 11.28 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.5638, allocations: 3.301 MB / 1.54 GB, free: 7.801 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.5643, allocations: 0.7997 MB / 1.541 GB, free: 6.977 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.5646, allocations: 87.23 kB / 1.541 GB, free: 6.895 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.5647, allocations: 115.4 kB / 1.541 GB, free: 6.781 MB / 1.232 GB Notification: Performance of SimCode: time 6.91e-07/0.5647, allocations: 3.938 kB / 1.541 GB, free: 6.777 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.5985, allocations: 11.09 MB / 1.552 GB, free: 11.94 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.11, allocations: 15.98 kB / 1.552 GB, free: 11.93 MB / 1.248 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: 19.06421814399073]