Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.002136/0.002137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.415/2.415, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2131, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1393/0.3525, allocations: 161.5 MB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3549, allocations: 1.714 MB / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.3551, allocations: 7.938 kB / 1.212 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.3556, allocations: 158.9 kB / 1.212 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009853/0.3566, allocations: 0.5056 MB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.3575, allocations: 421.2 kB / 1.213 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006225/0.3582, allocations: 0.5615 MB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.3585, allocations: 184.5 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.359, allocations: 322.6 kB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3592, allocations: 155.3 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.3592, allocations: 16 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.3601, allocations: 0.6938 MB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.3602, allocations: 79.66 kB / 1.215 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3603, allocations: 111.4 kB / 1.215 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.3609, allocations: 498.6 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3609, allocations: 3.938 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3609, allocations: 0 / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.361, allocations: 0 / 1.216 GB, free: 0.7266 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006794/0.3616, allocations: 0.5877 MB / 1.216 GB, free: 92 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3617, allocations: 8.625 kB / 1.216 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.3617, allocations: 46.55 kB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.3621, allocations: 55.73 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3624, allocations: 285.2 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3624, allocations: 12 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3624, allocations: 12 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3627, allocations: 188.7 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3628, allocations: 0 / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3628, allocations: 19.94 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3628, allocations: 0 / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.3631, allocations: 123.9 kB / 1.217 GB, free: 15.29 MB / 0.9825 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.0008456/0.3639, allocations: 0.7924 MB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3641, allocations: 82.53 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.3643, allocations: 76.86 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.3646, allocations: 190.2 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3646, allocations: 38.5 kB / 1.218 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3646, allocations: 0 / 1.218 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005882/0.3652, allocations: 217.2 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3652, allocations: 51.41 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.3655, allocations: 275 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3655, allocations: 26.08 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.3656, allocations: 148 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3656, allocations: 31.55 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3657, allocations: 37.61 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.3658, allocations: 334.8 kB / 1.219 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3659, allocations: 48.83 kB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.366, allocations: 89.11 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3663, allocations: 127.3 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3663, allocations: 0 / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003055/0.3666, allocations: 161.3 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.3666, allocations: 4 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3666, allocations: 3.938 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3667, allocations: 7.938 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3668, allocations: 23.98 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.3668, allocations: 0 / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.367, allocations: 19.83 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.367, allocations: 4 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001705/0.3672, allocations: 156.1 kB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001362/0.3673, allocations: 89.05 kB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002173/0.3675, allocations: 127.4 kB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.3675, allocations: 0 / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002789/0.3678, allocations: 153.3 kB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.3678, allocations: 5.875 kB / 1.22 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.3678, allocations: 0 / 1.22 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.3678, allocations: 7.938 kB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.368, allocations: 23.98 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.368, allocations: 3.938 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.3681, allocations: 20 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3681, allocations: 4 kB / 1.22 GB, free: 11.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.482e-05/0.3682, allocations: 184.3 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3683, allocations: 23.72 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.3686, allocations: 163.6 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3686, allocations: 8.094 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3686, allocations: 3.938 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3686, allocations: 0 / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.3694, allocations: 0.5938 MB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3694, allocations: 4 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3695, allocations: 27.92 kB / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3695, allocations: 0 / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3695, allocations: 4 kB / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3695, allocations: 4 kB / 1.221 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3695, allocations: 0 / 1.221 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.3699, allocations: 309.2 kB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.37, allocations: 104.9 kB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.37, allocations: 4 kB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3702, allocations: 11.98 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.3702, allocations: 15.92 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.3702, allocations: 7.938 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001495/0.3704, allocations: 201.9 kB / 1.222 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3704, allocations: 0 / 1.222 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003976/0.3708, allocations: 91.84 kB / 1.222 GB, free: 9.812 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 (10): * Single equations (assignments): 10 * 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.0007317/0.3715, allocations: 0.8948 MB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.3719, allocations: 171.7 kB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.372, allocations: 0 / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3721, allocations: 67.83 kB / 1.223 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.3728, allocations: 118.7 kB / 1.223 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.3752, allocations: 2.352 MB / 1.226 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3754, allocations: 0.7564 MB / 1.226 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000194/0.3756, allocations: 69.88 kB / 1.226 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.3757, allocations: 71.41 kB / 1.227 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3757, allocations: 0 / 1.227 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.024/3.399, allocations: 6.834 MB / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/11, allocations: 9.859 kB / 1.233 GB, free: 14.43 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches