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.001461/0.001461, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001661/0.001661, allocations: 190.3 kB / 16.25 MB, free: 6.633 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.56 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3295, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1748/0.5043, allocations: 159.3 MB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.5074, allocations: 1.699 MB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.5078, allocations: 11.94 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.5085, allocations: 135.2 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.5099, allocations: 494 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.5111, allocations: 386.8 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.512, allocations: 0.5693 MB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.5124, allocations: 172.5 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.5131, allocations: 318.7 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.5133, allocations: 159.3 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.5134, allocations: 16 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.5145, allocations: 0.7053 MB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.5146, allocations: 79.73 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.5148, allocations: 127.3 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009441/0.5157, allocations: 0.5141 MB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5158, allocations: 0 / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5158, allocations: 0 / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5158, allocations: 0 / 1.229 GB, free: 5.473 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.0009262/0.5167, allocations: 0.5877 MB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5168, allocations: 12.03 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.5171, allocations: 47.69 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.5175, allocations: 297.2 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.5176, allocations: 8 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.5176, allocations: 16 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.518, allocations: 192.6 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.518, allocations: 0 / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.518, allocations: 8 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5181, allocations: 4 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.5184, allocations: 127.9 kB / 1.23 GB, free: 4.082 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.001035/0.5194, allocations: 0.7924 MB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.5197, allocations: 82.47 kB / 1.231 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.5199, allocations: 84.81 kB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.5202, allocations: 182.2 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5203, allocations: 38.56 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.5203, allocations: 0 / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000671/0.521, allocations: 217.2 kB / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.521, allocations: 51.41 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.5213, allocations: 267 kB / 1.231 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.5213, allocations: 33.7 kB / 1.231 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.5214, allocations: 147.9 kB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.5214, allocations: 35.45 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.5215, allocations: 37.7 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5217, allocations: 330.8 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5218, allocations: 40.83 kB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.522, allocations: 105 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.5222, allocations: 119.3 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5223, allocations: 0 / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00035/0.5226, allocations: 157.3 kB / 1.232 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5226, allocations: 11.97 kB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5226, allocations: 4 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5227, allocations: 3.938 kB / 1.232 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5228, allocations: 19.98 kB / 1.232 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5228, allocations: 7.938 kB / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.523, allocations: 19.92 kB / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.523, allocations: 4 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002006/0.5232, allocations: 156.1 kB / 1.233 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001553/0.5234, allocations: 85.67 kB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002363/0.5237, allocations: 123.6 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.5237, allocations: 4 kB / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003231/0.524, allocations: 157.2 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.524, allocations: 5.719 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.524, allocations: 0 / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.524, allocations: 4 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5242, allocations: 27.86 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.5242, allocations: 0 / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.5244, allocations: 27.91 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.5244, allocations: 8 kB / 1.233 GB, free: 492 kB / 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 0.0001/0.5245, allocations: 184.3 kB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.5246, allocations: 15.81 kB / 1.233 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.5249, allocations: 171.1 kB / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5249, allocations: 0 / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.525, allocations: 4 kB / 1.233 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.525, allocations: 0 / 1.233 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.5259, allocations: 0.5937 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5259, allocations: 4 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.526, allocations: 19.98 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.526, allocations: 4 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.526, allocations: 0 / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.526, allocations: 4 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.526, allocations: 128 / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.5264, allocations: 309.2 kB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5266, allocations: 113 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.5266, allocations: 4 kB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5268, allocations: 19.91 kB / 1.234 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.5269, allocations: 15.92 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5269, allocations: 8 kB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001747/0.5271, allocations: 201.9 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5271, allocations: 0 / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000462/0.5275, allocations: 87.84 kB / 1.235 GB, free: 14.6 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.0003605/0.5279, allocations: 171.1 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.5284, allocations: 163.8 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5284, allocations: 4.062 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5286, allocations: 63.83 kB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.5293, allocations: 120.9 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.53, allocations: 0.4933 MB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5304, allocations: 0.7597 MB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.5306, allocations: 69.88 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.5307, allocations: 19.44 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.5307, allocations: 0 / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.009192/0.5399, allocations: 4.306 MB / 1.241 GB, free: 8.434 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