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.0014/0.0014, allocations: 110.3 kB / 16.4 MB, free: 6.445 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.001737/0.001738, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.415/1.415, allocations: 222.9 MB / 245.1 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] 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.688/2.688, allocations: 437.1 MB / 0.7171 GB, free: 4.52 MB / 0.5606 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.002034/0.002035, allocations: 71.88 kB / 1.027 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3245, allocations: 151.6 MB / 1.175 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.8243/1.149, allocations: 161.3 MB / 1.332 GB, free: 7.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002658/1.151, allocations: 0.961 MB / 1.333 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/1.152, allocations: 10.38 kB / 1.333 GB, free: 6.805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/1.153, allocations: 161.4 kB / 1.333 GB, free: 6.703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/1.155, allocations: 0.6371 MB / 1.334 GB, free: 6.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/1.156, allocations: 215.8 kB / 1.334 GB, free: 6.273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001127/1.158, allocations: 0.5162 MB / 1.335 GB, free: 6.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/1.158, allocations: 174.8 kB / 1.335 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007123/1.159, allocations: 245.1 kB / 1.335 GB, free: 5.863 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/1.159, allocations: 151.6 kB / 1.335 GB, free: 5.801 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/1.159, allocations: 14.69 kB / 1.335 GB, free: 5.801 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/1.161, allocations: 0.543 MB / 1.336 GB, free: 5.582 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/1.161, allocations: 86.94 kB / 1.336 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002422/1.161, allocations: 108.2 kB / 1.336 GB, free: 5.488 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/1.162, allocations: 489.8 kB / 1.336 GB, free: 5.332 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.162, allocations: 1.281 kB / 1.336 GB, free: 5.332 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/1.162, allocations: 0 / 1.336 GB, free: 5.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.163, allocations: 0 / 1.336 GB, free: 5.332 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.001786/1.164, allocations: 0.615 MB / 1.337 GB, free: 4.836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.164, allocations: 9.781 kB / 1.337 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.766e-05/1.164, allocations: 48.91 kB / 1.337 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/1.165, allocations: 54.06 kB / 1.337 GB, free: 4.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/1.165, allocations: 288.6 kB / 1.337 GB, free: 4.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.165, allocations: 15.61 kB / 1.337 GB, free: 4.512 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/1.165, allocations: 14.84 kB / 1.337 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/1.166, allocations: 244.9 kB / 1.338 GB, free: 4.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.166, allocations: 0 / 1.338 GB, free: 4.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/1.166, allocations: 9.453 kB / 1.338 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.166, allocations: 9.719 kB / 1.338 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/1.167, allocations: 262.9 kB / 1.338 GB, free: 4.316 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.001404/1.168, allocations: 0.8324 MB / 1.339 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/1.168, allocations: 150 kB / 1.339 GB, free: 3.664 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/1.169, allocations: 112.3 kB / 1.339 GB, free: 3.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/1.169, allocations: 189.1 kB / 1.339 GB, free: 3.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/1.169, allocations: 35.72 kB / 1.339 GB, free: 3.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/1.169, allocations: 0 / 1.339 GB, free: 3.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0008454/1.17, allocations: 299.2 kB / 1.34 GB, free: 3.281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.17, allocations: 57.59 kB / 1.34 GB, free: 3.215 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/1.17, allocations: 243.2 kB / 1.34 GB, free: 3.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.17, allocations: 30.73 kB / 1.34 GB, free: 3.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.17, allocations: 141.1 kB / 1.34 GB, free: 2.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/1.17, allocations: 50.67 kB / 1.34 GB, free: 2.871 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/1.17, allocations: 33.67 kB / 1.34 GB, free: 2.848 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.171, allocations: 332.5 kB / 1.34 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/1.171, allocations: 67.09 kB / 1.34 GB, free: 2.508 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/1.171, allocations: 108.4 kB / 1.341 GB, free: 2.457 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/1.171, allocations: 167.5 kB / 1.341 GB, free: 2.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.171, allocations: 2.75 kB / 1.341 GB, free: 2.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004558/1.172, allocations: 214.9 kB / 1.341 GB, free: 2.293 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.172, allocations: 12.88 kB / 1.341 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.172, allocations: 1.281 kB / 1.341 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.172, allocations: 1.156 kB / 1.341 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/1.172, allocations: 29.27 kB / 1.341 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.172, allocations: 0.8438 kB / 1.341 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/1.172, allocations: 26.73 kB / 1.341 GB, free: 2.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/1.172, allocations: 6.594 kB / 1.341 GB, free: 2.273 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.0001773/1.173, allocations: 148.3 kB / 1.341 GB, free: 2.137 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/1.173, allocations: 22.53 kB / 1.341 GB, free: 2.125 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/1.173, allocations: 32.47 kB / 1.341 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.173, allocations: 6.375 kB / 1.341 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.173, allocations: 0 / 1.341 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.173, allocations: 0 / 1.341 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/1.174, allocations: 0.6771 MB / 1.342 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.174, allocations: 2.312 kB / 1.342 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/1.174, allocations: 35.83 kB / 1.342 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/1.174, allocations: 5.266 kB / 1.342 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.174, allocations: 7.656 kB / 1.342 GB, free: 1.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/1.174, allocations: 2.562 kB / 1.342 GB, free: 1.609 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.174, allocations: 2.969 kB / 1.342 GB, free: 1.609 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/1.175, allocations: 354.5 kB / 1.342 GB, free: 1.352 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/1.175, allocations: 116.3 kB / 1.342 GB, free: 1.238 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/1.175, allocations: 10.78 kB / 1.342 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.175, allocations: 12.53 kB / 1.342 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/1.175, allocations: 26.3 kB / 1.342 GB, free: 1.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/1.175, allocations: 5.531 kB / 1.342 GB, free: 1.215 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002059/1.175, allocations: 183 kB / 1.343 GB, free: 1.105 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.175, allocations: 1.062 kB / 1.343 GB, free: 1.105 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003854/1.176, allocations: 57.22 kB / 1.343 GB, free: 1.098 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.001296/1.177, allocations: 0.9365 MB / 1.344 GB, free: 300 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000509/1.178, allocations: 179.2 kB / 1.344 GB, free: 248 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.178, allocations: 1.219 kB / 1.344 GB, free: 248 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/1.178, allocations: 95.62 kB / 1.344 GB, free: 220 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/1.179, allocations: 121.7 kB / 1.344 GB, free: 188 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/1.182, allocations: 2.471 MB / 1.346 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/1.183, allocations: 0.754 MB / 1.347 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002382/1.183, allocations: 63.86 kB / 1.347 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.183, allocations: 67.3 kB / 1.347 GB, free: 13.67 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.183, allocations: 0 / 1.347 GB, free: 13.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/1.213, allocations: 6.936 MB / 1.354 GB, free: 12.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/9.513, allocations: 5.016 kB / 1.354 GB, free: 12.93 MB / 1.029 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.358031489187852]