Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.335/2.335, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 1.059 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2476, allocations: 160.7 MB / 1.216 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6393/0.8869, allocations: 162 MB / 1.374 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.8887, allocations: 0.9705 MB / 1.375 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.8888, allocations: 8.781 kB / 1.375 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.8893, allocations: 166.1 kB / 1.375 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.8907, allocations: 0.6588 MB / 1.375 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.8912, allocations: 233.5 kB / 1.376 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.8917, allocations: 0.5218 MB / 1.376 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.892, allocations: 135.9 kB / 1.376 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.8924, allocations: 245 kB / 1.377 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.8926, allocations: 175.3 kB / 1.377 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.8926, allocations: 15.94 kB / 1.377 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000788/0.8934, allocations: 0.5793 MB / 1.377 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.8935, allocations: 84.91 kB / 1.377 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.8936, allocations: 111 kB / 1.377 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.8942, allocations: 490.6 kB / 1.378 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.8942, allocations: 0 / 1.378 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8942, allocations: 0 / 1.378 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.8942, allocations: 0 / 1.378 GB, free: 12.11 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001338/0.8955, allocations: 0.6134 MB / 1.379 GB, free: 11.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.8956, allocations: 8.562 kB / 1.379 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.8956, allocations: 54.06 kB / 1.379 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.8959, allocations: 54.41 kB / 1.379 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.8962, allocations: 282.1 kB / 1.379 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.8963, allocations: 19.11 kB / 1.379 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.8963, allocations: 16.56 kB / 1.379 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.8968, allocations: 240.7 kB / 1.379 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.8968, allocations: 1.25 kB / 1.379 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.8968, allocations: 8.828 kB / 1.379 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.8968, allocations: 9.812 kB / 1.379 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.8973, allocations: 246 kB / 1.379 GB, free: 11.11 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.8985, allocations: 0.8348 MB / 1.38 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.8988, allocations: 146 kB / 1.38 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.899, allocations: 103.6 kB / 1.381 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.8993, allocations: 186.5 kB / 1.381 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8993, allocations: 38.14 kB / 1.381 GB, free: 10.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.8993, allocations: 0 / 1.381 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0007681/0.9001, allocations: 306.4 kB / 1.381 GB, free: 10.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.9001, allocations: 53.41 kB / 1.381 GB, free: 10.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.9003, allocations: 243.1 kB / 1.381 GB, free: 9.867 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.9004, allocations: 30.86 kB / 1.381 GB, free: 9.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.9005, allocations: 137.3 kB / 1.381 GB, free: 9.711 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.9005, allocations: 55.22 kB / 1.382 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.9006, allocations: 33.94 kB / 1.382 GB, free: 9.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9007, allocations: 331 kB / 1.382 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.9009, allocations: 68.36 kB / 1.382 GB, free: 9.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.9011, allocations: 99.41 kB / 1.382 GB, free: 9.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.9014, allocations: 177.5 kB / 1.382 GB, free: 9.184 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9014, allocations: 0 / 1.382 GB, free: 9.184 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004384/0.9018, allocations: 211.3 kB / 1.382 GB, free: 9.094 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9019, allocations: 11.5 kB / 1.382 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9019, allocations: 5.625 kB / 1.382 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.9019, allocations: 1.844 kB / 1.382 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.9021, allocations: 29.44 kB / 1.382 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.9021, allocations: 1.406 kB / 1.382 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.9022, allocations: 24.55 kB / 1.382 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.9022, allocations: 11.91 kB / 1.382 GB, free: 9.07 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001235/0.9024, allocations: 141.6 kB / 1.383 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.9024, allocations: 22.38 kB / 1.383 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.9025, allocations: 38.67 kB / 1.383 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.9025, allocations: 1.406 kB / 1.383 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9025, allocations: 0.5625 kB / 1.383 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9025, allocations: 1.781 kB / 1.383 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/0.9035, allocations: 0.6792 MB / 1.383 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9035, allocations: 1.094 kB / 1.383 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.9036, allocations: 32.59 kB / 1.383 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9036, allocations: 7.062 kB / 1.383 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.9037, allocations: 7.203 kB / 1.383 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9037, allocations: 2.219 kB / 1.383 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9037, allocations: 6.062 kB / 1.383 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.9042, allocations: 359 kB / 1.384 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.9043, allocations: 115.1 kB / 1.384 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.9043, allocations: 7.297 kB / 1.384 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.9044, allocations: 5.656 kB / 1.384 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.9045, allocations: 21.3 kB / 1.384 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.9045, allocations: 10.59 kB / 1.384 GB, free: 7.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000152/0.9047, allocations: 180.3 kB / 1.384 GB, free: 7.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9047, allocations: 0 / 1.384 GB, free: 7.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003241/0.905, allocations: 57.22 kB / 1.384 GB, free: 7.836 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0009962/0.906, allocations: 0.9523 MB / 1.385 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.9064, allocations: 172.9 kB / 1.385 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9064, allocations: 1.375 kB / 1.385 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.9066, allocations: 87.28 kB / 1.385 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.9073, allocations: 128 kB / 1.385 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.9103, allocations: 2.479 MB / 1.388 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.9106, allocations: 0.7524 MB / 1.389 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.9108, allocations: 60.47 kB / 1.389 GB, free: 4.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.9109, allocations: 64 kB / 1.389 GB, free: 4.035 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9109, allocations: 0 / 1.389 GB, free: 4.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.9392, allocations: 6.964 MB / 1.395 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/8.194, allocations: 13.95 kB / 1.396 GB, free: 0.5508 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable res.sta_b.T in file Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable res.sta_b.T from file Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.341200044000288]