Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001474/0.001474, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.299, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8393/1.138, allocations: 239 MB / 1.183 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01889/1.157, allocations: 13.46 MB / 1.196 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/1.161, allocations: 52.72 kB / 1.196 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005265/1.167, allocations: 0.8526 MB / 1.197 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007534/1.174, allocations: 1.673 MB / 1.199 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/1.178, allocations: 1.133 MB / 1.2 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005353/1.183, allocations: 3.274 MB / 1.203 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/1.185, allocations: 1.015 MB / 1.204 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/1.197, allocations: 4.016 MB / 1.208 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/1.198, allocations: 0.9591 MB / 1.209 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004674/1.199, allocations: 79.09 kB / 1.209 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/1.201, allocations: 0.7433 MB / 1.21 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008182/1.202, allocations: 437 kB / 1.21 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/1.204, allocations: 0.6841 MB / 1.211 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/1.206, allocations: 1.11 MB / 1.212 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.206, allocations: 0 / 1.212 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/1.206, allocations: 0 / 1.212 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.216e-05/1.206, allocations: 0 / 1.212 GB, free: 11.91 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003154/1.209, allocations: 1.617 MB / 1.213 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.209, allocations: 14.28 kB / 1.214 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/1.21, allocations: 199.4 kB / 1.214 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.212, allocations: 0.8371 MB / 1.215 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/1.212, allocations: 123.9 kB / 1.215 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/1.213, allocations: 79.97 kB / 1.215 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.214, allocations: 0.9182 MB / 1.216 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.214, allocations: 6.438 kB / 1.216 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/1.215, allocations: 37.91 kB / 1.216 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/1.215, allocations: 23.66 kB / 1.216 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.216, allocations: 0.5034 MB / 1.216 GB, free: 8.863 MB / 0.8887 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.005667/1.221, allocations: 4.876 MB / 1.221 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/1.222, allocations: 420.8 kB / 1.221 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/1.222, allocations: 265.6 kB / 1.222 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/1.223, allocations: 103.4 kB / 1.222 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.223, allocations: 58.42 kB / 1.222 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/1.223, allocations: 0 / 1.222 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.001948/1.225, allocations: 0.782 MB / 1.222 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/1.225, allocations: 404.8 kB / 1.223 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/1.226, allocations: 1.273 MB / 1.224 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/1.227, allocations: 36.55 kB / 1.224 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/1.227, allocations: 0.5443 MB / 1.225 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.227, allocations: 108.2 kB / 1.225 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.227, allocations: 85.03 kB / 1.225 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.227, allocations: 324.5 kB / 1.225 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.228, allocations: 94.11 kB / 1.225 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/1.228, allocations: 338.7 kB / 1.226 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/1.229, allocations: 323.5 kB / 1.226 GB, free: 312 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.229, allocations: 0 / 1.226 GB, free: 312 kB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009702/1.23, allocations: 0.4908 MB / 1.226 GB, free: 32 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.23, allocations: 5.5 kB / 1.226 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.23, allocations: 2.406 kB / 1.226 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/1.23, allocations: 78.89 kB / 1.226 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/1.23, allocations: 59.03 kB / 1.227 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/1.233, allocations: 3.256 MB / 1.23 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.234, allocations: 110.4 kB / 1.23 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/1.234, allocations: 19.81 kB / 1.23 GB, free: 12.61 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004704/1.235, allocations: 279.9 kB / 1.23 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/1.235, allocations: 144.8 kB / 1.23 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/1.235, allocations: 127.3 kB / 1.23 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.235, allocations: 9.312 kB / 1.23 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.235, allocations: 8.469 kB / 1.23 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.235, allocations: 2.688 kB / 1.23 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/1.239, allocations: 2.52 MB / 1.233 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.239, allocations: 4.688 kB / 1.233 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.24, allocations: 51 kB / 1.233 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/1.24, allocations: 72.27 kB / 1.233 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/1.24, allocations: 12.66 kB / 1.233 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/1.243, allocations: 3.265 MB / 1.236 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.243, allocations: 8.688 kB / 1.236 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/1.244, allocations: 0.6731 MB / 1.237 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/1.244, allocations: 244.2 kB / 1.237 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.245, allocations: 15.53 kB / 1.237 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/1.246, allocations: 56.34 kB / 1.237 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/1.246, allocations: 43 kB / 1.237 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.246, allocations: 19.11 kB / 1.237 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001199/1.247, allocations: 0.8769 MB / 1.238 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.247, allocations: 0 / 1.238 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001296/1.248, allocations: 279.3 kB / 1.238 GB, free: 5.375 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000506/1.249, allocations: 217.9 kB / 1.239 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.25, allocations: 0.5185 MB / 1.239 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.25, allocations: 4.625 kB / 1.239 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/1.25, allocations: 406.9 kB / 1.239 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.254, allocations: 0.7567 MB / 1.24 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/1.258, allocations: 2.219 MB / 1.242 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/1.259, allocations: 1.131 MB / 1.243 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/1.259, allocations: 81.81 kB / 1.244 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/1.259, allocations: 0 / 1.244 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of Templates: time 0.04142/1.3, allocations: 27.55 MB / 1.27 GB, free: 8.008 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches