Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009022/0.0009022, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.723/1.723, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.352e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6435/0.6435, allocations: 142.1 MB / 1.089 GB, free: 39.19 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.645, allocations: 0.9437 MB / 1.09 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.6453, allocations: 12.94 kB / 1.09 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.6458, allocations: 158.7 kB / 1.09 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.647, allocations: 0.654 MB / 1.091 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.6475, allocations: 254.2 kB / 1.091 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005749/0.6481, allocations: 0.5236 MB / 1.092 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.6484, allocations: 127.8 kB / 1.092 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.6488, allocations: 298.6 kB / 1.092 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.6489, allocations: 151.3 kB / 1.092 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.6489, allocations: 14.69 kB / 1.092 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006997/0.6496, allocations: 476.9 kB / 1.093 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.6497, allocations: 86.38 kB / 1.093 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.6498, allocations: 80.55 kB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.6503, allocations: 498 kB / 1.093 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6503, allocations: 0 / 1.093 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6503, allocations: 0 / 1.093 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6503, allocations: 0 / 1.093 GB, free: 38.81 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000944/0.6512, allocations: 0.539 MB / 1.094 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6513, allocations: 7.875 kB / 1.094 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.6513, allocations: 52.83 kB / 1.094 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.6515, allocations: 56.56 kB / 1.094 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.6518, allocations: 228.1 kB / 1.094 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6518, allocations: 12.7 kB / 1.094 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.6518, allocations: 20.69 kB / 1.094 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.6522, allocations: 245.2 kB / 1.095 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6522, allocations: 0 / 1.095 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.6522, allocations: 12.66 kB / 1.095 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.6522, allocations: 8.156 kB / 1.095 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.6526, allocations: 247.4 kB / 1.095 GB, free: 38.19 MB / 0.9948 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.0008042/0.6534, allocations: 0.6906 MB / 1.095 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.6536, allocations: 136 kB / 1.096 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.6537, allocations: 106.8 kB / 1.096 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.6538, allocations: 35.73 kB / 1.096 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.6538, allocations: 33.5 kB / 1.096 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.6538, allocations: 3.984 kB / 1.096 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.0004911/0.6543, allocations: 297.7 kB / 1.096 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.6543, allocations: 58.5 kB / 1.096 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.6545, allocations: 251 kB / 1.096 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.6545, allocations: 29.7 kB / 1.096 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.6545, allocations: 136.6 kB / 1.097 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.6546, allocations: 48.19 kB / 1.097 GB, free: 37.25 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.6546, allocations: 34.89 kB / 1.097 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.6546, allocations: 331.2 kB / 1.097 GB, free: 36.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.6547, allocations: 69.59 kB / 1.097 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.6549, allocations: 181 kB / 1.097 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.6551, allocations: 173 kB / 1.097 GB, free: 36.68 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6551, allocations: 2.812 kB / 1.097 GB, free: 36.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002449/0.6553, allocations: 216 kB / 1.098 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6553, allocations: 7.5 kB / 1.098 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6553, allocations: 0 / 1.098 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6553, allocations: 2.906 kB / 1.098 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.6555, allocations: 35.53 kB / 1.098 GB, free: 36.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6555, allocations: 2.594 kB / 1.098 GB, free: 36.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.6555, allocations: 27.45 kB / 1.098 GB, free: 36.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.6556, allocations: 8.578 kB / 1.098 GB, free: 36.56 MB / 0.9948 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 7.747e-05/0.6556, allocations: 151.6 kB / 1.098 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.6557, allocations: 22.17 kB / 1.098 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.6557, allocations: 32.97 kB / 1.098 GB, free: 36.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6557, allocations: 2.281 kB / 1.098 GB, free: 36.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6557, allocations: 3.938 kB / 1.098 GB, free: 36.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6557, allocations: 4 kB / 1.098 GB, free: 36.38 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.6563, allocations: 0.6252 MB / 1.098 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6563, allocations: 0 / 1.098 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.6564, allocations: 34.36 kB / 1.098 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.6564, allocations: 6.625 kB / 1.098 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.6564, allocations: 6.562 kB / 1.098 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6564, allocations: 2.844 kB / 1.098 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6564, allocations: 2.562 kB / 1.098 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.6566, allocations: 345.7 kB / 1.099 GB, free: 35.69 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.6567, allocations: 46.62 kB / 1.099 GB, free: 35.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.6567, allocations: 4.094 kB / 1.099 GB, free: 35.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.6568, allocations: 12.28 kB / 1.099 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.6568, allocations: 23.25 kB / 1.099 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.6568, allocations: 5.531 kB / 1.099 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.917e-05/0.6569, allocations: 185.7 kB / 1.099 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6569, allocations: 0 / 1.099 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002472/0.6572, allocations: 55.39 kB / 1.099 GB, free: 35.54 MB / 0.9948 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.0005696/0.6578, allocations: 0.9252 MB / 1.1 GB, free: 34.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.6581, allocations: 179.9 kB / 1.1 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6581, allocations: 0.7812 kB / 1.1 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.6583, allocations: 89.06 kB / 1.1 GB, free: 34.67 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.6588, allocations: 122.2 kB / 1.1 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.6614, allocations: 2.456 MB / 1.103 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.6616, allocations: 146.6 kB / 1.103 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.6618, allocations: 63.86 kB / 1.103 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.6619, allocations: 67.72 kB / 1.103 GB, free: 32.78 MB / 0.9948 GB Notification: Performance of SimCode: time 1.362e-06/0.6619, allocations: 0 / 1.103 GB, free: 32.78 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.687, allocations: 7.965 MB / 1.111 GB, free: 31.41 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.979, allocations: 7.406 kB / 1.111 GB, free: 31.41 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable res.sta_b.T from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.165944082662463]