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: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 104.2 kB / 15.99 MB, free: 6.359 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.001275/0.001275, allocations: 199.3 kB / 16.91 MB, free: 6.191 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: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001495, allocations: 68.55 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3401, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8359/1.176, allocations: 159.3 MB / 1.219 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003764/1.18, allocations: 1.701 MB / 1.221 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/1.18, allocations: 13.81 kB / 1.221 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007044/1.181, allocations: 131.4 kB / 1.221 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/1.183, allocations: 494.9 kB / 1.222 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/1.185, allocations: 386.8 kB / 1.222 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001126/1.186, allocations: 0.5662 MB / 1.222 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/1.186, allocations: 178.9 kB / 1.223 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/1.187, allocations: 314.5 kB / 1.223 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/1.188, allocations: 168 kB / 1.223 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/1.188, allocations: 12.38 kB / 1.223 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/1.189, allocations: 0.7097 MB / 1.224 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/1.189, allocations: 74.48 kB / 1.224 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/1.189, allocations: 120 kB / 1.224 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006919/1.19, allocations: 351.7 kB / 1.224 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.19, allocations: 0 / 1.224 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.807e-06/1.19, allocations: 3.938 kB / 1.224 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.876e-06/1.19, allocations: 0 / 1.224 GB, free: 3.754 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008697/1.191, allocations: 0.5905 MB / 1.225 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.191, allocations: 8.438 kB / 1.225 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/1.191, allocations: 48.41 kB / 1.225 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/1.192, allocations: 294.2 kB / 1.225 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.192, allocations: 8.875 kB / 1.225 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/1.192, allocations: 13.84 kB / 1.225 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/1.192, allocations: 195.6 kB / 1.225 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.192, allocations: 0 / 1.225 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/1.192, allocations: 6.875 kB / 1.225 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/1.192, allocations: 2.5 kB / 1.225 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/1.193, allocations: 130.8 kB / 1.226 GB, free: 2.699 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.001024/1.194, allocations: 0.7931 MB / 1.226 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/1.194, allocations: 85.62 kB / 1.226 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/1.194, allocations: 72.25 kB / 1.227 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/1.194, allocations: 190 kB / 1.227 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.194, allocations: 30.56 kB / 1.227 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.434e-06/1.194, allocations: 4 kB / 1.227 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000723/1.195, allocations: 220.9 kB / 1.227 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.195, allocations: 59.33 kB / 1.227 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/1.196, allocations: 266 kB / 1.227 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/1.196, allocations: 32.55 kB / 1.227 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.196, allocations: 142.5 kB / 1.227 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.196, allocations: 36.94 kB / 1.227 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/1.196, allocations: 32.58 kB / 1.227 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.196, allocations: 335.1 kB / 1.228 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/1.196, allocations: 44.8 kB / 1.228 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/1.196, allocations: 95.33 kB / 1.228 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/1.197, allocations: 119.4 kB / 1.228 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.197, allocations: 0 / 1.228 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003508/1.197, allocations: 163.8 kB / 1.228 GB, free: 444 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.197, allocations: 5.906 kB / 1.228 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.197, allocations: 2.594 kB / 1.228 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.197, allocations: 3.938 kB / 1.228 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.197, allocations: 20.52 kB / 1.228 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.197, allocations: 2.406 kB / 1.228 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/1.197, allocations: 21.61 kB / 1.228 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/1.197, allocations: 3.875 kB / 1.228 GB, free: 424 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002201/1.198, allocations: 154.1 kB / 1.228 GB, free: 300 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001768/1.198, allocations: 91.64 kB / 1.229 GB, free: 224 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002316/1.198, allocations: 120.8 kB / 1.229 GB, free: 140 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/1.198, allocations: 2.594 kB / 1.229 GB, free: 140 kB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003282/1.198, allocations: 155.3 kB / 1.229 GB, free: 44 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.198, allocations: 5.406 kB / 1.229 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/1.198, allocations: 0 / 1.229 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/1.198, allocations: 3.531 kB / 1.229 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.199, allocations: 18.8 kB / 1.229 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/1.199, allocations: 14.48 kB / 1.229 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/1.199, allocations: 26.58 kB / 1.229 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.199, allocations: 2.188 kB / 1.229 GB, free: 16 kB / 0.9356 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 0.0001437/1.199, allocations: 189.8 kB / 1.229 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/1.199, allocations: 22.28 kB / 1.229 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/1.199, allocations: 164 kB / 1.229 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.199, allocations: 5.969 kB / 1.229 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.199, allocations: 0 / 1.229 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/1.199, allocations: 0 / 1.229 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/1.2, allocations: 0.5896 MB / 1.23 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.2, allocations: 3.312 kB / 1.23 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.2, allocations: 28.02 kB / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.2, allocations: 2.562 kB / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.2, allocations: 7.562 kB / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.2, allocations: 1.594 kB / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.201, allocations: 3.438 kB / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/1.201, allocations: 302 kB / 1.23 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.201, allocations: 110 kB / 1.23 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/1.201, allocations: 6.656 kB / 1.23 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.201, allocations: 21.22 kB / 1.23 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/1.201, allocations: 18.38 kB / 1.23 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.201, allocations: 6.656 kB / 1.23 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002353/1.202, allocations: 200.8 kB / 1.23 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.61e-07/1.202, allocations: 0 / 1.23 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005071/1.202, allocations: 91.84 kB / 1.231 GB, free: 14.5 MB / 0.9512 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.0004495/1.203, allocations: 172.8 kB / 1.231 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004832/1.203, allocations: 171.7 kB / 1.231 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.203, allocations: 0 / 1.231 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/1.203, allocations: 59.89 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/1.204, allocations: 115.1 kB / 1.231 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/1.205, allocations: 0.5304 MB / 1.232 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.205, allocations: 0.748 MB / 1.232 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/1.205, allocations: 19.44 kB / 1.232 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/1.205, allocations: 7.938 kB / 1.232 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.007906/1.213, allocations: 3.699 MB / 1.236 GB, free: 8.957 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (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 & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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