Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_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.007797/0.007797, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001673/0.001672, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.611/1.611, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.84 kB / 0.9504 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2715, allocations: 140.4 MB / 1.087 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1677/0.4393, allocations: 161.3 MB / 1.245 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.4413, allocations: 0.9667 MB / 1.246 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.4416, allocations: 11.94 kB / 1.246 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.4422, allocations: 159 kB / 1.246 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.4438, allocations: 0.6536 MB / 1.247 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.4445, allocations: 226.9 kB / 1.247 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.4452, allocations: 0.5265 MB / 1.247 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.4456, allocations: 172.2 kB / 1.248 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.4461, allocations: 243.1 kB / 1.248 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.4463, allocations: 159.3 kB / 1.248 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.4464, allocations: 20 kB / 1.248 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009056/0.4473, allocations: 0.5455 MB / 1.249 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4474, allocations: 83.77 kB / 1.249 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4476, allocations: 111.4 kB / 1.249 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.4484, allocations: 495.5 kB / 1.249 GB, free: 11.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4484, allocations: 0 / 1.249 GB, free: 11.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4484, allocations: 0 / 1.249 GB, free: 11.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.4485, allocations: 0 / 1.249 GB, free: 11.83 MB / 1.014 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.00145/0.4499, allocations: 0.5961 MB / 1.25 GB, free: 11.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.45, allocations: 12.03 kB / 1.25 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/0.45, allocations: 54.55 kB / 1.25 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.4503, allocations: 47.62 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.4508, allocations: 286.4 kB / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4508, allocations: 12.33 kB / 1.25 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.4509, allocations: 20 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.4514, allocations: 235.1 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4514, allocations: 3.938 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.4514, allocations: 4 kB / 1.25 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.4514, allocations: 8 kB / 1.25 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.452, allocations: 251.8 kB / 1.251 GB, free: 10.22 MB / 1.014 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.001343/0.4534, allocations: 0.8352 MB / 1.252 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.4537, allocations: 146.5 kB / 1.252 GB, free: 9.156 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.4539, allocations: 116.8 kB / 1.252 GB, free: 9.039 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.4542, allocations: 186.2 kB / 1.252 GB, free: 8.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4543, allocations: 46.42 kB / 1.252 GB, free: 8.766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.4543, allocations: 0 / 1.252 GB, free: 8.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0008558/0.4551, allocations: 301.2 kB / 1.252 GB, free: 8.465 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.4552, allocations: 51.41 kB / 1.252 GB, free: 8.402 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4554, allocations: 245 kB / 1.253 GB, free: 8.156 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4554, allocations: 25.7 kB / 1.253 GB, free: 8.125 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.4555, allocations: 132.3 kB / 1.253 GB, free: 7.992 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.4556, allocations: 43.3 kB / 1.253 GB, free: 7.949 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.4557, allocations: 41.7 kB / 1.253 GB, free: 7.902 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4558, allocations: 334.8 kB / 1.253 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.456, allocations: 67.94 kB / 1.253 GB, free: 7.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.4562, allocations: 110.4 kB / 1.253 GB, free: 7.383 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.4566, allocations: 169.6 kB / 1.253 GB, free: 7.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4566, allocations: 0 / 1.253 GB, free: 7.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004992/0.4571, allocations: 217.3 kB / 1.254 GB, free: 6.992 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4571, allocations: 11.88 kB / 1.254 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4571, allocations: 0 / 1.254 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4572, allocations: 8.047 kB / 1.254 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.4573, allocations: 35.92 kB / 1.254 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4574, allocations: 0 / 1.254 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.4576, allocations: 23.73 kB / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.4576, allocations: 8.047 kB / 1.254 GB, free: 6.906 MB / 1.014 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.0001473/0.4577, allocations: 146.3 kB / 1.254 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.4578, allocations: 23.73 kB / 1.254 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.4579, allocations: 29.84 kB / 1.254 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.4579, allocations: 7.984 kB / 1.254 GB, free: 6.695 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4579, allocations: 3.938 kB / 1.254 GB, free: 6.691 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4579, allocations: 0 / 1.254 GB, free: 6.691 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.459, allocations: 0.6756 MB / 1.255 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.459, allocations: 4 kB / 1.255 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.4591, allocations: 23.98 kB / 1.255 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4591, allocations: 4 kB / 1.255 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4592, allocations: 7.984 kB / 1.255 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4592, allocations: 3.938 kB / 1.255 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4592, allocations: 4 kB / 1.255 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.4597, allocations: 353.4 kB / 1.255 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4598, allocations: 116.8 kB / 1.255 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.4598, allocations: 7.984 kB / 1.255 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.46, allocations: 11.94 kB / 1.255 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.46, allocations: 15.92 kB / 1.255 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4601, allocations: 8 kB / 1.255 GB, free: 5.332 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000168/0.4602, allocations: 184.5 kB / 1.255 GB, free: 5.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4602, allocations: 0 / 1.255 GB, free: 5.152 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003734/0.4606, allocations: 59.91 kB / 1.255 GB, free: 5.094 MB / 1.014 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.001048/0.4617, allocations: 0.9431 MB / 1.256 GB, free: 4.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.4622, allocations: 179.8 kB / 1.256 GB, free: 3.934 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4622, allocations: 0 / 1.256 GB, free: 3.934 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4624, allocations: 95.81 kB / 1.257 GB, free: 3.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.4631, allocations: 127.7 kB / 1.257 GB, free: 3.719 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.4662, allocations: 2.45 MB / 1.259 GB, free: 1.137 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4665, allocations: 0.7519 MB / 1.26 GB, free: 368 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.4667, allocations: 61.91 kB / 1.26 GB, free: 308 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4668, allocations: 67.41 kB / 1.26 GB, free: 240 kB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.4669, allocations: 3.938 kB / 1.26 GB, free: 236 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6234/1.09, allocations: 6.925 MB / 1.267 GB, free: 175.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.834, allocations: 9.891 kB / 1.267 GB, free: 175.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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