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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7342 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 65.94 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2638, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1592/0.4231, allocations: 159.1 MB / 1.208 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.4248, allocations: 0.9547 MB / 1.209 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.425, allocations: 4 kB / 1.209 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.4256, allocations: 135.2 kB / 1.209 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.4269, allocations: 0.5993 MB / 1.209 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.4274, allocations: 198.9 kB / 1.209 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.4281, allocations: 0.741 MB / 1.21 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.4284, allocations: 164.1 kB / 1.21 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.4287, allocations: 211.2 kB / 1.21 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.4289, allocations: 167.3 kB / 1.211 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.429, allocations: 16 kB / 1.211 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.4299, allocations: 0.6351 MB / 1.211 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.43, allocations: 79.72 kB / 1.211 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4301, allocations: 115.4 kB / 1.211 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.4307, allocations: 0.5063 MB / 1.212 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4307, allocations: 0 / 1.212 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4308, allocations: 0 / 1.212 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.4308, allocations: 0 / 1.212 GB, free: 4.039 MB / 0.9669 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.001375/0.4321, allocations: 0.5923 MB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4322, allocations: 19.97 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.862e-05/0.4323, allocations: 54.48 kB / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.4325, allocations: 51.59 kB / 1.213 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.4328, allocations: 274.4 kB / 1.213 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4329, allocations: 12.33 kB / 1.213 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.4329, allocations: 16 kB / 1.213 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.4334, allocations: 239.1 kB / 1.213 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4334, allocations: 0 / 1.213 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4334, allocations: 8 kB / 1.213 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.4335, allocations: 15.98 kB / 1.213 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.4341, allocations: 247.8 kB / 1.213 GB, free: 2.426 MB / 0.9669 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.001169/0.4353, allocations: 0.8275 MB / 1.214 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.4356, allocations: 146.4 kB / 1.214 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.4358, allocations: 116.8 kB / 1.215 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.4361, allocations: 194.2 kB / 1.215 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4361, allocations: 34.5 kB / 1.215 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.4361, allocations: 0 / 1.215 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0007987/0.4369, allocations: 308.2 kB / 1.215 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4369, allocations: 55.41 kB / 1.215 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4372, allocations: 245 kB / 1.215 GB, free: 376 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4372, allocations: 25.7 kB / 1.215 GB, free: 344 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.4373, allocations: 132.3 kB / 1.215 GB, free: 208 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.4373, allocations: 51.2 kB / 1.216 GB, free: 156 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.4374, allocations: 41.7 kB / 1.216 GB, free: 108 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4375, allocations: 330.8 kB / 1.216 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.4377, allocations: 63.94 kB / 1.216 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.4379, allocations: 108.5 kB / 1.216 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.4383, allocations: 170.4 kB / 1.216 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4383, allocations: 0 / 1.216 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000452/0.4388, allocations: 209.3 kB / 1.216 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4388, allocations: 11.92 kB / 1.216 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4388, allocations: 7.938 kB / 1.216 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4388, allocations: 4 kB / 1.216 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.439, allocations: 36.05 kB / 1.216 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.439, allocations: 0 / 1.216 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.4392, allocations: 19.83 kB / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.4392, allocations: 15.92 kB / 1.216 GB, free: 15.12 MB / 0.9825 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.0001216/0.4394, allocations: 141.8 kB / 1.217 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4394, allocations: 27.66 kB / 1.217 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.4395, allocations: 37.83 kB / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4395, allocations: 0 / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4395, allocations: 0 / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4395, allocations: 0 / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.4405, allocations: 0.6756 MB / 1.217 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4405, allocations: 0 / 1.217 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.4407, allocations: 35.91 kB / 1.217 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4407, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4407, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4407, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4407, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.4412, allocations: 357.4 kB / 1.218 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.4413, allocations: 124.7 kB / 1.218 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.4414, allocations: 4 kB / 1.218 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.4415, allocations: 11.98 kB / 1.218 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.4416, allocations: 23.86 kB / 1.218 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4416, allocations: 4 kB / 1.218 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000141/0.4418, allocations: 180.5 kB / 1.218 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4418, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003454/0.4421, allocations: 59.89 kB / 1.218 GB, free: 13.3 MB / 0.9825 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.0009853/0.4431, allocations: 0.9336 MB / 1.219 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.4436, allocations: 178.4 kB / 1.219 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4436, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4438, allocations: 91.88 kB / 1.219 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.4445, allocations: 124.8 kB / 1.219 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.4474, allocations: 2.511 MB / 1.222 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4477, allocations: 0.7521 MB / 1.223 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.448, allocations: 65.84 kB / 1.223 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4481, allocations: 67.41 kB / 1.223 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.4481, allocations: 3.938 kB / 1.223 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.465, allocations: 6.538 MB / 1.229 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.4652, allocations: 264.3 kB / 1.229 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.222, allocations: 4 kB / 1.229 GB, free: 1.773 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:m_flow.duration,m_flow.height,m_flow.offset,m_flow.startTime,m_flow.y,res.allowFlowReversal,res.dp,res.from_dp,res.m_flow,res.m_flow_nominal,res.m_flow_small,res.port_a.Xi_outflow[1],res.port_a.h_outflow,res.port_a.m_flow,res.port_a.p,res.port_b.Xi_outflow[1],res.port_b.h_outflow,res.port_b.m_flow,res.port_b.p,res.show_T,res.sta_a.T,res.sta_a.X[1],res.sta_a.X[2],res.sta_a.p,res.sta_b.T,res.sta_b.X[1],res.sta_b.X[2],res.sta_b.p,sin.T,sin.X[1],sin.X[2],sin.nPorts,sin.p,sin.ports[1].Xi_outflow[1],sin.ports[1].h_outflow,sin.ports[1].m_flow,sin.ports[1].p,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,sou.T,sou.X[1],sou.X[2],sou.m_flow,sou.m_flow_in,sou.nPorts,sou.ports[1].Xi_outflow[1],sou.ports[1].h_outflow,sou.ports[1].m_flow,sou.ports[1].p,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_m_flow_in,sou.verifyInputs,time