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.001124/0.001124, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001283/0.001283, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.913/0.913, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9809 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.13e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6638/0.6638, allocations: 153 MB / 1.13 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.666, allocations: 1.762 MB / 1.132 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.6663, allocations: 24.53 kB / 1.132 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.6668, allocations: 219.1 kB / 1.132 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.6681, allocations: 0.7841 MB / 1.133 GB, free: 7.996 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.6695, allocations: 0.9045 MB / 1.134 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.6703, allocations: 0.8414 MB / 1.135 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.6706, allocations: 231.9 kB / 1.135 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.6715, allocations: 0.6993 MB / 1.136 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.6717, allocations: 237 kB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.6718, allocations: 27.5 kB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.6729, allocations: 0.9037 MB / 1.137 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.673, allocations: 129.7 kB / 1.137 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.6731, allocations: 138.9 kB / 1.137 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6742, allocations: 0.9257 MB / 1.138 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6742, allocations: 0.7031 kB / 1.138 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6742, allocations: 4 kB / 1.138 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6742, allocations: 0 / 1.138 GB, free: 5.918 MB / 0.9948 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.001202/0.6754, allocations: 0.7126 MB / 1.139 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6755, allocations: 10.22 kB / 1.139 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.6755, allocations: 62.2 kB / 1.139 GB, free: 5.359 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.6761, allocations: 162.8 kB / 1.139 GB, free: 5.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.6765, allocations: 300.3 kB / 1.139 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6765, allocations: 27.94 kB / 1.139 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.6765, allocations: 30.41 kB / 1.139 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.677, allocations: 391.1 kB / 1.14 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.677, allocations: 9.016 kB / 1.14 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.6771, allocations: 10.28 kB / 1.14 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.6771, allocations: 14.94 kB / 1.14 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.6775, allocations: 342.8 kB / 1.14 GB, free: 4.766 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.6788, allocations: 1.311 MB / 1.141 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.6791, allocations: 219.8 kB / 1.141 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.6793, allocations: 137 kB / 1.142 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.6796, allocations: 73.58 kB / 1.142 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.6796, allocations: 40.31 kB / 1.142 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.6796, allocations: 0.75 kB / 1.142 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0006542/0.6802, allocations: 387 kB / 1.142 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.6803, allocations: 53.59 kB / 1.142 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.6806, allocations: 366.5 kB / 1.142 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.6806, allocations: 31.67 kB / 1.142 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.6807, allocations: 192.3 kB / 1.143 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.6807, allocations: 69 kB / 1.143 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.6808, allocations: 53.08 kB / 1.143 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.6809, allocations: 343.5 kB / 1.143 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.681, allocations: 89.52 kB / 1.143 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.6812, allocations: 235 kB / 1.143 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.6815, allocations: 251.7 kB / 1.144 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6815, allocations: 0.9375 kB / 1.144 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003966/0.6819, allocations: 311.8 kB / 1.144 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6819, allocations: 6.094 kB / 1.144 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6819, allocations: 2.344 kB / 1.144 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.682, allocations: 6.312 kB / 1.144 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.6821, allocations: 45.28 kB / 1.144 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6821, allocations: 3.922 kB / 1.144 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.6822, allocations: 39.16 kB / 1.144 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.6823, allocations: 14.14 kB / 1.144 GB, free: 2.195 MB / 0.9948 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.0001072/0.6824, allocations: 156.1 kB / 1.144 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.6824, allocations: 45.27 kB / 1.144 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.6828, allocations: 302.2 kB / 1.145 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.6828, allocations: 2.812 kB / 1.145 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6828, allocations: 0.7031 kB / 1.145 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6828, allocations: 0.75 kB / 1.145 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.6837, allocations: 0.833 MB / 1.145 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6837, allocations: 2.281 kB / 1.145 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.6838, allocations: 43.36 kB / 1.145 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6838, allocations: 8.484 kB / 1.145 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.6839, allocations: 17.14 kB / 1.145 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.6839, allocations: 5.688 kB / 1.145 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6839, allocations: 7.25 kB / 1.145 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.6842, allocations: 438.5 kB / 1.146 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.6843, allocations: 64.64 kB / 1.146 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.6844, allocations: 12.3 kB / 1.146 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6845, allocations: 11.17 kB / 1.146 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.6845, allocations: 23.62 kB / 1.146 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6845, allocations: 11.64 kB / 1.146 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001942/0.6847, allocations: 258.4 kB / 1.146 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6847, allocations: 0 / 1.146 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003122/0.685, allocations: 97.98 kB / 1.146 GB, free: 0.8477 MB / 0.9948 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.0006886/0.6857, allocations: 1.031 MB / 1.147 GB, free: 15.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.6861, allocations: 242.7 kB / 1.148 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6861, allocations: 1.75 kB / 1.148 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.6863, allocations: 125.2 kB / 1.148 GB, free: 15.88 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.687, allocations: 210.4 kB / 1.148 GB, free: 15.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.6903, allocations: 3.307 MB / 1.151 GB, free: 13.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.6904, allocations: 199.8 kB / 1.151 GB, free: 13.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.6906, allocations: 89.5 kB / 1.151 GB, free: 13.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.6908, allocations: 113 kB / 1.152 GB, free: 13.51 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.6908, allocations: 0 / 1.152 GB, free: 13.51 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.718, allocations: 12.24 MB / 1.163 GB, free: 11.71 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.825, allocations: 8.391 kB / 1.163 GB, free: 11.7 MB / 1.01 GB " [Timeout remaining time 292] (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/jenkins/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: 12.128093459643424]