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.001709/0.001709, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002146/0.002146, allocations: 217.1 kB / 22.25 MB, free: 5.105 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.832 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.148/3.148, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_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.001994/0.001994, allocations: 72.08 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2039/0.5389, allocations: 153.1 MB / 1.475 GB, free: 7.848 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.5424, allocations: 1.748 MB / 1.477 GB, free: 6.098 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.5428, allocations: 23.81 kB / 1.477 GB, free: 6.074 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.5435, allocations: 222.5 kB / 1.477 GB, free: 5.855 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.5455, allocations: 0.7661 MB / 1.478 GB, free: 5.086 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.5477, allocations: 0.8605 MB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.5489, allocations: 0.8612 MB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.5493, allocations: 231.6 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.5507, allocations: 0.5917 MB / 1.481 GB, free: 2.539 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.5511, allocations: 282.8 kB / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.5511, allocations: 28 kB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.5529, allocations: 0.896 MB / 1.482 GB, free: 1.336 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.5531, allocations: 135.5 kB / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.5533, allocations: 159.3 kB / 1.482 GB, free: 1.047 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.5548, allocations: 0.8839 MB / 1.483 GB, free: 164 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5548, allocations: 0 / 1.483 GB, free: 164 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5548, allocations: 4 kB / 1.483 GB, free: 160 kB / 1.17 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5548, allocations: 0 / 1.483 GB, free: 160 kB / 1.17 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.001796/0.5566, allocations: 0.7186 MB / 1.484 GB, free: 15.4 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5567, allocations: 12.03 kB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.681e-05/0.5568, allocations: 62.55 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000978/0.5577, allocations: 167.5 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.5584, allocations: 299.6 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.5585, allocations: 24.66 kB / 1.484 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.5585, allocations: 24 kB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.5592, allocations: 395.5 kB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5593, allocations: 0 / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.5593, allocations: 12 kB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.5593, allocations: 24.52 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007147/0.56, allocations: 342.3 kB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.562, allocations: 1.3 MB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.5626, allocations: 224.2 kB / 1.486 GB, free: 12.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.5628, allocations: 132.8 kB / 1.486 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.5633, allocations: 71.92 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.5633, allocations: 38.55 kB / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.5633, allocations: 0 / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001033/0.5643, allocations: 389.9 kB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5644, allocations: 55.41 kB / 1.487 GB, free: 11.71 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.5648, allocations: 365.6 kB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.5648, allocations: 29.7 kB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.565, allocations: 192.4 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.565, allocations: 75.36 kB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.5651, allocations: 49.7 kB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5653, allocations: 346.7 kB / 1.488 GB, free: 10.64 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.5655, allocations: 95.92 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.5659, allocations: 225.5 kB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.5664, allocations: 259.4 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5664, allocations: 0 / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006191/0.567, allocations: 306.9 kB / 1.489 GB, free: 9.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.567, allocations: 6.344 kB / 1.489 GB, free: 9.707 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.567, allocations: 4 kB / 1.489 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.567, allocations: 0 / 1.489 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.5673, allocations: 55.91 kB / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5673, allocations: 0 / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.5676, allocations: 35.77 kB / 1.489 GB, free: 9.613 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.5676, allocations: 15.98 kB / 1.489 GB, free: 9.598 MB / 1.186 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.0002096/0.5678, allocations: 169.8 kB / 1.489 GB, free: 9.422 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.5679, allocations: 35.77 kB / 1.489 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006824/0.5685, allocations: 304.7 kB / 1.489 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5686, allocations: 4 kB / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5686, allocations: 0 / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5686, allocations: 0 / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.5701, allocations: 0.8341 MB / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5701, allocations: 4 kB / 1.49 GB, free: 8.152 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.5703, allocations: 39.91 kB / 1.49 GB, free: 8.113 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5704, allocations: 4 kB / 1.49 GB, free: 8.109 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.5704, allocations: 12.34 kB / 1.49 GB, free: 8.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.5704, allocations: 12.08 kB / 1.49 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5704, allocations: 7.875 kB / 1.49 GB, free: 8.078 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.5711, allocations: 458.1 kB / 1.491 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.5712, allocations: 63.73 kB / 1.491 GB, free: 7.52 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.5713, allocations: 4 kB / 1.491 GB, free: 7.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.5715, allocations: 11.98 kB / 1.491 GB, free: 7.504 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.5715, allocations: 27.91 kB / 1.491 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.5716, allocations: 8 kB / 1.491 GB, free: 7.469 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000298/0.5719, allocations: 259.2 kB / 1.491 GB, free: 7.223 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5719, allocations: 0 / 1.491 GB, free: 7.223 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000459/0.5723, allocations: 99.83 kB / 1.491 GB, free: 7.125 MB / 1.186 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.001175/0.5735, allocations: 1.035 MB / 1.492 GB, free: 6.027 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.5741, allocations: 231.7 kB / 1.492 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5741, allocations: 0 / 1.492 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.5744, allocations: 128.4 kB / 1.493 GB, free: 5.676 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5755, allocations: 217.5 kB / 1.493 GB, free: 5.465 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.58, allocations: 3.295 MB / 1.496 GB, free: 1.988 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.5802, allocations: 197.8 kB / 1.496 GB, free: 1.773 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.5805, allocations: 87.23 kB / 1.496 GB, free: 1.684 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.5807, allocations: 111.4 kB / 1.496 GB, free: 1.574 MB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/0.5807, allocations: 0 / 1.496 GB, free: 1.574 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.6223, allocations: 12.25 MB / 1.508 GB, free: 5.664 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.69, allocations: 12.67 kB / 1.508 GB, free: 5.656 MB / 1.201 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable senTemIn.T in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemIn.T from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! Error: Could not read variable senTemOut.T in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemOut.T from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.486375931010116]