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.0007959/0.0007959, 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.0008087/0.0008087, allocations: 170.3 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.9016/0.9016, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.837/1.837, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.209e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5869/0.5869, allocations: 152.9 MB / 1.149 GB, free: 4.172 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.5892, allocations: 1.726 MB / 1.151 GB, free: 3 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.5894, allocations: 21.12 kB / 1.151 GB, free: 2.988 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.5899, allocations: 222.5 kB / 1.151 GB, free: 2.852 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.5913, allocations: 0.7827 MB / 1.152 GB, free: 2.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.5925, allocations: 0.9021 MB / 1.153 GB, free: 1.988 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.5932, allocations: 0.8295 MB / 1.153 GB, free: 1.594 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.5937, allocations: 213.4 kB / 1.154 GB, free: 1.496 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.5947, allocations: 0.6897 MB / 1.154 GB, free: 1.199 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.5952, allocations: 241.5 kB / 1.154 GB, free: 1.117 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.5952, allocations: 26.66 kB / 1.155 GB, free: 1.117 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.5964, allocations: 0.904 MB / 1.155 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.5966, allocations: 134.4 kB / 1.156 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.5967, allocations: 134.6 kB / 1.156 GB, free: 0.668 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.598, allocations: 0.9237 MB / 1.157 GB, free: 376 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5981, allocations: 0 / 1.157 GB, free: 376 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5981, allocations: 0 / 1.157 GB, free: 376 kB / 1.01 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5981, allocations: 0.9375 kB / 1.157 GB, free: 376 kB / 1.01 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.001294/0.5994, allocations: 0.7022 MB / 1.157 GB, free: 15.87 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5994, allocations: 14.8 kB / 1.157 GB, free: 15.87 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.5995, allocations: 70.88 kB / 1.157 GB, free: 15.8 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.6, allocations: 159 kB / 1.157 GB, free: 15.77 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.6005, allocations: 295.9 kB / 1.158 GB, free: 15.55 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.6005, allocations: 20.44 kB / 1.158 GB, free: 15.55 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.6006, allocations: 27 kB / 1.158 GB, free: 15.54 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.6011, allocations: 394.6 kB / 1.158 GB, free: 15.36 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6011, allocations: 1.062 kB / 1.158 GB, free: 15.36 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.6012, allocations: 15.31 kB / 1.158 GB, free: 15.34 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.6012, allocations: 13.02 kB / 1.158 GB, free: 15.34 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.6017, allocations: 340.1 kB / 1.159 GB, free: 15.23 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.6032, allocations: 1.307 MB / 1.16 GB, free: 14.34 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.6036, allocations: 225.8 kB / 1.16 GB, free: 14.26 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.6038, allocations: 141.3 kB / 1.16 GB, free: 14.21 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.604, allocations: 69.34 kB / 1.16 GB, free: 14.2 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.6041, allocations: 34.41 kB / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of pre-optimization done (n=20): time 2.295e-06/0.6041, allocations: 0 / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of matching and sorting (n=20): time 0.0006866/0.6047, allocations: 397 kB / 1.161 GB, free: 14.02 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.6048, allocations: 54.67 kB / 1.161 GB, free: 13.95 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.6051, allocations: 358.3 kB / 1.161 GB, free: 13.77 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.6051, allocations: 30.92 kB / 1.161 GB, free: 13.74 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.6052, allocations: 188.8 kB / 1.161 GB, free: 13.58 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.6052, allocations: 76.03 kB / 1.161 GB, free: 13.52 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.6053, allocations: 46.91 kB / 1.161 GB, free: 13.49 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.6054, allocations: 349.2 kB / 1.162 GB, free: 13.16 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.6055, allocations: 89.92 kB / 1.162 GB, free: 13.14 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.6057, allocations: 233.6 kB / 1.162 GB, free: 12.96 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.6061, allocations: 252.3 kB / 1.162 GB, free: 12.82 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6061, allocations: 0 / 1.162 GB, free: 12.82 MB / 1.026 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003854/0.6064, allocations: 305.3 kB / 1.163 GB, free: 12.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6065, allocations: 5.531 kB / 1.163 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6065, allocations: 1.406 kB / 1.163 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6065, allocations: 3.953 kB / 1.163 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.6066, allocations: 57.17 kB / 1.163 GB, free: 12.69 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6066, allocations: 3.453 kB / 1.163 GB, free: 12.69 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.6068, allocations: 30.42 kB / 1.163 GB, free: 12.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.6068, allocations: 13.56 kB / 1.163 GB, free: 12.67 MB / 1.026 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.0001224/0.6069, allocations: 159.5 kB / 1.163 GB, free: 12.53 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.6069, allocations: 40.61 kB / 1.163 GB, free: 12.51 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.6074, allocations: 303.3 kB / 1.163 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6074, allocations: 2.469 kB / 1.163 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6074, allocations: 4.641 kB / 1.163 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6074, allocations: 6.234 kB / 1.163 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.6083, allocations: 0.8326 MB / 1.164 GB, free: 11.83 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6083, allocations: 2.531 kB / 1.164 GB, free: 11.83 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.6084, allocations: 43.52 kB / 1.164 GB, free: 11.83 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6085, allocations: 3.844 kB / 1.164 GB, free: 11.83 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.6085, allocations: 13.36 kB / 1.164 GB, free: 11.82 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6085, allocations: 4.359 kB / 1.164 GB, free: 11.82 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6085, allocations: 4.219 kB / 1.164 GB, free: 11.82 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.6089, allocations: 443.8 kB / 1.164 GB, free: 11.51 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.609, allocations: 55.28 kB / 1.164 GB, free: 11.48 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.609, allocations: 14.69 kB / 1.164 GB, free: 11.48 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6091, allocations: 14.16 kB / 1.165 GB, free: 11.47 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.6092, allocations: 20.47 kB / 1.165 GB, free: 11.47 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.6092, allocations: 12.77 kB / 1.165 GB, free: 11.46 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002026/0.6094, allocations: 252.5 kB / 1.165 GB, free: 11.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.6094, allocations: 0 / 1.165 GB, free: 11.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000291/0.6097, allocations: 102.7 kB / 1.165 GB, free: 11.32 MB / 1.026 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.0007824/0.6105, allocations: 1.032 MB / 1.166 GB, free: 10.46 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.6109, allocations: 239.2 kB / 1.166 GB, free: 10.39 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6109, allocations: 0 / 1.166 GB, free: 10.39 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.611, allocations: 123.4 kB / 1.166 GB, free: 10.36 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.6117, allocations: 202.5 kB / 1.166 GB, free: 10.31 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.6154, allocations: 3.302 MB / 1.17 GB, free: 8.176 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.6156, allocations: 196.3 kB / 1.17 GB, free: 8.082 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.6158, allocations: 87.17 kB / 1.17 GB, free: 8.066 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6159, allocations: 112.9 kB / 1.17 GB, free: 7.988 MB / 1.026 GB Notification: Performance of SimCode: time 9.02e-07/0.6159, allocations: 0 / 1.17 GB, free: 7.988 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.6432, allocations: 12.02 MB / 1.182 GB, free: 5.93 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.537, allocations: 9.172 kB / 1.182 GB, free: 5.922 MB / 1.026 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemIn.T from file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! Error: Could not read variable senTemOut.T in file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemOut.T from file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.757082473486662]