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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001512/0.001513, allocations: 104 kB / 15.6 MB, free: 148 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.001947/0.001947, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7452 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.94 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1778/0.503, allocations: 161.5 MB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.5061, allocations: 1.714 MB / 1.228 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.5064, allocations: 11.94 kB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.507, allocations: 158.9 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.5081, allocations: 0.5056 MB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.5091, allocations: 425.5 kB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.5098, allocations: 0.5654 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.5101, allocations: 180.5 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.5107, allocations: 314.7 kB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.5109, allocations: 151.3 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.5109, allocations: 16 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.512, allocations: 0.6898 MB / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.5121, allocations: 83.66 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.5122, allocations: 115.4 kB / 1.231 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.5129, allocations: 498.6 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5129, allocations: 0 / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5129, allocations: 0 / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5129, allocations: 0 / 1.231 GB, free: 2.898 MB / 0.9825 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.0007647/0.5137, allocations: 0.5838 MB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5138, allocations: 12.03 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.5141, allocations: 55.67 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.5144, allocations: 289.2 kB / 1.232 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5145, allocations: 12 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.5145, allocations: 16 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.5149, allocations: 196.1 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.5149, allocations: 0 / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5149, allocations: 8 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5149, allocations: 7.938 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.5152, allocations: 125.6 kB / 1.232 GB, free: 1.504 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.0009468/0.5162, allocations: 0.7886 MB / 1.233 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.5164, allocations: 86.59 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.5166, allocations: 72.81 kB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.5169, allocations: 186.2 kB / 1.234 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.517, allocations: 34.56 kB / 1.234 GB, free: 220 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.517, allocations: 0 / 1.234 GB, free: 220 kB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006601/0.5176, allocations: 217.2 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.5177, allocations: 55.34 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.5179, allocations: 279 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.518, allocations: 29.7 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.5181, allocations: 144 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.5181, allocations: 31.47 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.5182, allocations: 29.7 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5183, allocations: 334.8 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5184, allocations: 44.83 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.5186, allocations: 93.11 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.5189, allocations: 127.3 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5189, allocations: 4 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003367/0.5192, allocations: 161.2 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5192, allocations: 7.938 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5193, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5193, allocations: 7.938 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5194, allocations: 19.98 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5194, allocations: 0.5625 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5196, allocations: 23.95 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5196, allocations: 4 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000187/0.5198, allocations: 148.1 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001553/0.52, allocations: 101 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002404/0.5202, allocations: 119.4 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-06/0.5202, allocations: 3.984 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003171/0.5206, allocations: 153.5 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.5206, allocations: 4 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5206, allocations: 4 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-06/0.5206, allocations: 4.031 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.5207, allocations: 31.95 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.5207, allocations: 4 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.5209, allocations: 15.97 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5209, allocations: 4 kB / 1.236 GB, free: 13.92 MB / 0.9981 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 9.717e-05/0.521, allocations: 188.2 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.5211, allocations: 23.72 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.5214, allocations: 167.2 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5214, allocations: 0 / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5215, allocations: 0 / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.5215, allocations: 0 / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.5223, allocations: 0.5975 MB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.5223, allocations: 4 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5224, allocations: 23.92 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.5225, allocations: 4 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5225, allocations: 0 / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5225, allocations: 4 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.5225, allocations: 8.219 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.5229, allocations: 297.1 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.523, allocations: 108.8 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.523, allocations: 4.375 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.5232, allocations: 19.92 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.5233, allocations: 15.86 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.5233, allocations: 8 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001713/0.5235, allocations: 205.9 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5235, allocations: 0 / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004356/0.5239, allocations: 91.84 kB / 1.237 GB, free: 12.02 MB / 0.9981 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.0003498/0.5243, allocations: 170.7 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.5247, allocations: 171.8 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.5248, allocations: 0 / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.5249, allocations: 55.91 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.5256, allocations: 123.1 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.5263, allocations: 441.1 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.5266, allocations: 0.7558 MB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.5268, allocations: 66.55 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.5268, allocations: 23.44 kB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.5268, allocations: 0 / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.008378/0.5352, allocations: 4.392 MB / 1.243 GB, free: 5.844 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches