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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008604/0.008604, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 0.8729 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5925, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1433/0.7358, allocations: 157 MB / 1.176 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.7375, allocations: 0.9695 MB / 1.177 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.7378, allocations: 3.938 kB / 1.177 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.7382, allocations: 127.3 kB / 1.178 GB, free: 1.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.7395, allocations: 0.6109 MB / 1.178 GB, free: 496 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.7401, allocations: 200.1 kB / 1.178 GB, free: 300 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.7409, allocations: 0.7371 MB / 1.179 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.7412, allocations: 152.2 kB / 1.179 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.7416, allocations: 207.1 kB / 1.179 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.7419, allocations: 167.3 kB / 1.18 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.7419, allocations: 8 kB / 1.18 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.7428, allocations: 0.6351 MB / 1.18 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.7429, allocations: 83.7 kB / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.7431, allocations: 129.1 kB / 1.18 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.7438, allocations: 0.5102 MB / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7438, allocations: 0 / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7438, allocations: 0 / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7438, allocations: 0 / 1.181 GB, free: 13.66 MB / 0.9356 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.001267/0.7451, allocations: 0.5533 MB / 1.181 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7451, allocations: 11.97 kB / 1.181 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.463e-05/0.7452, allocations: 50.55 kB / 1.181 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.7454, allocations: 47.69 kB / 1.182 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.7458, allocations: 278.3 kB / 1.182 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7458, allocations: 12.33 kB / 1.182 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.7458, allocations: 15.98 kB / 1.182 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.7463, allocations: 251.1 kB / 1.182 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.7463, allocations: 0 / 1.182 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.7463, allocations: 4 kB / 1.182 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.7464, allocations: 11.94 kB / 1.182 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/0.7469, allocations: 267.6 kB / 1.182 GB, free: 12.08 MB / 0.9356 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.001173/0.7481, allocations: 0.8512 MB / 1.183 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.7484, allocations: 146.6 kB / 1.183 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.7486, allocations: 112.8 kB / 1.183 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.7489, allocations: 190.2 kB / 1.184 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.7489, allocations: 34.5 kB / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.7489, allocations: 0 / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.000785/0.7497, allocations: 321.2 kB / 1.184 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.7498, allocations: 55.41 kB / 1.184 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.75, allocations: 245 kB / 1.184 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.75, allocations: 29.7 kB / 1.184 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.7501, allocations: 136.2 kB / 1.184 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.7501, allocations: 47.3 kB / 1.184 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.7502, allocations: 21.66 kB / 1.184 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7503, allocations: 330.8 kB / 1.185 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.7505, allocations: 79.94 kB / 1.185 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.7507, allocations: 106.5 kB / 1.185 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.751, allocations: 178.4 kB / 1.185 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7511, allocations: 0 / 1.185 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004413/0.7515, allocations: 229.2 kB / 1.185 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7515, allocations: 7.938 kB / 1.185 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7515, allocations: 0 / 1.185 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7515, allocations: 7.984 kB / 1.185 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.7517, allocations: 27.98 kB / 1.185 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7517, allocations: 3.938 kB / 1.185 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.7519, allocations: 39.77 kB / 1.185 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.7519, allocations: 7.984 kB / 1.185 GB, free: 8.715 MB / 0.9356 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.0001185/0.7521, allocations: 145.8 kB / 1.186 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.7521, allocations: 19.75 kB / 1.186 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.7522, allocations: 37.77 kB / 1.186 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7522, allocations: 0 / 1.186 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7522, allocations: 0 / 1.186 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7522, allocations: 0 / 1.186 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.7532, allocations: 0.6951 MB / 1.186 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7532, allocations: 0 / 1.186 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.7534, allocations: 35.92 kB / 1.186 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.7534, allocations: 7.984 kB / 1.186 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.7534, allocations: 4 kB / 1.186 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7534, allocations: 0 / 1.186 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7534, allocations: 7.938 kB / 1.186 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.7539, allocations: 361.3 kB / 1.187 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.754, allocations: 108.9 kB / 1.187 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.754, allocations: 7.984 kB / 1.187 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.7542, allocations: 12 kB / 1.187 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.7543, allocations: 23.86 kB / 1.187 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.7543, allocations: 11.98 kB / 1.187 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001451/0.7544, allocations: 176.5 kB / 1.187 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7544, allocations: 0 / 1.187 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003207/0.7548, allocations: 67.83 kB / 1.187 GB, free: 6.871 MB / 0.9356 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.0009187/0.7557, allocations: 0.9438 MB / 1.188 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.7561, allocations: 187.8 kB / 1.188 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7561, allocations: 0 / 1.188 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.7563, allocations: 99.86 kB / 1.188 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.7571, allocations: 123.7 kB / 1.188 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.7599, allocations: 2.559 MB / 1.191 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7602, allocations: 0.7521 MB / 1.192 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.7604, allocations: 70.11 kB / 1.192 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.7605, allocations: 63.41 kB / 1.192 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7605, allocations: 0 / 1.192 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.233/1.994, allocations: 6.419 MB / 1.198 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/1.994, allocations: 251.9 kB / 1.198 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/4.546, allocations: 0 / 1.198 GB, free: 11.41 MB / 0.9512 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_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