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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001822/0.001822, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.002133/0.002133, allocations: 192.4 kB / 17.3 MB, free: 5.613 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 64.08 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3002, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8945/1.195, allocations: 241.9 MB / 1.187 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02256/1.217, allocations: 13.54 MB / 1.201 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/1.221, allocations: 59.62 kB / 1.201 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003709/1.225, allocations: 0.9782 MB / 1.202 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006651/1.232, allocations: 1.786 MB / 1.203 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/1.235, allocations: 1.242 MB / 1.205 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005184/1.241, allocations: 3.26 MB / 1.208 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.242, allocations: 1.057 MB / 1.209 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/1.254, allocations: 4.114 MB / 1.213 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/1.257, allocations: 0.8952 MB / 1.214 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003774/1.257, allocations: 77.28 kB / 1.214 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/1.26, allocations: 0.7029 MB / 1.214 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006343/1.26, allocations: 444.5 kB / 1.215 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/1.262, allocations: 0.6853 MB / 1.215 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/1.264, allocations: 1.519 MB / 1.217 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.264, allocations: 0 / 1.217 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.625e-06/1.264, allocations: 0 / 1.217 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.16e-05/1.264, allocations: 0 / 1.217 GB, free: 7.188 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.002563/1.267, allocations: 1.616 MB / 1.219 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.267, allocations: 10.09 kB / 1.219 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/1.268, allocations: 200.9 kB / 1.219 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/1.269, allocations: 0.9056 MB / 1.22 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.27, allocations: 126.1 kB / 1.22 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/1.27, allocations: 82.19 kB / 1.22 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/1.271, allocations: 0.9191 MB / 1.221 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.271, allocations: 6.281 kB / 1.221 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/1.271, allocations: 32.66 kB / 1.221 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/1.271, allocations: 20.25 kB / 1.221 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/1.272, allocations: 0.5144 MB / 1.221 GB, free: 4.094 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.005292/1.277, allocations: 4.851 MB / 1.226 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/1.278, allocations: 419.8 kB / 1.226 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/1.278, allocations: 269.3 kB / 1.227 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/1.279, allocations: 104.6 kB / 1.227 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.279, allocations: 53.55 kB / 1.227 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 3.887e-06/1.279, allocations: 0 / 1.227 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001802/1.28, allocations: 0.7747 MB / 1.228 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/1.281, allocations: 396.3 kB / 1.228 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.282, allocations: 1.275 MB / 1.229 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/1.282, allocations: 34.98 kB / 1.229 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00069/1.283, allocations: 0.5542 MB / 1.23 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.283, allocations: 106.5 kB / 1.23 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/1.283, allocations: 86.75 kB / 1.23 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.283, allocations: 324.1 kB / 1.23 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/1.284, allocations: 100.5 kB / 1.23 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/1.284, allocations: 334.2 kB / 1.231 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/1.285, allocations: 337.7 kB / 1.231 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.285, allocations: 0 / 1.231 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008805/1.285, allocations: 499.8 kB / 1.232 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.285, allocations: 6.781 kB / 1.232 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.286, allocations: 5.406 kB / 1.232 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/1.286, allocations: 69.11 kB / 1.232 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/1.286, allocations: 66.38 kB / 1.232 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/1.289, allocations: 3.255 MB / 1.235 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/1.29, allocations: 94.36 kB / 1.235 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/1.29, allocations: 19.88 kB / 1.235 GB, free: 7.855 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.0004149/1.29, allocations: 274.8 kB / 1.235 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/1.291, allocations: 139.8 kB / 1.235 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/1.291, allocations: 127.5 kB / 1.235 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.291, allocations: 7.281 kB / 1.235 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.291, allocations: 9.375 kB / 1.235 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.291, allocations: 2.312 kB / 1.235 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/1.294, allocations: 2.519 MB / 1.238 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.294, allocations: 5.688 kB / 1.238 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.295, allocations: 51.16 kB / 1.238 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/1.295, allocations: 76.61 kB / 1.238 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/1.295, allocations: 11.97 kB / 1.238 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/1.298, allocations: 3.265 MB / 1.241 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.298, allocations: 9.234 kB / 1.241 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.299, allocations: 0.6725 MB / 1.242 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/1.299, allocations: 246.8 kB / 1.242 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.299, allocations: 15.2 kB / 1.242 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/1.3, allocations: 43.14 kB / 1.242 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/1.3, allocations: 39.31 kB / 1.242 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/1.3, allocations: 24.92 kB / 1.242 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001115/1.301, allocations: 0.8784 MB / 1.243 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.301, allocations: 0 / 1.243 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001017/1.302, allocations: 258.9 kB / 1.243 GB, free: 0.6367 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.0005096/1.303, allocations: 211.4 kB / 1.244 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.304, allocations: 0.5187 MB / 1.244 GB, free: 132 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.304, allocations: 0 / 1.244 GB, free: 132 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/1.304, allocations: 411.1 kB / 1.244 GB, free: 15.81 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.307, allocations: 0.752 MB / 1.245 GB, free: 15.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.31, allocations: 1.812 MB / 1.247 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/1.311, allocations: 1.131 MB / 1.248 GB, free: 13.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009531/1.312, allocations: 245.7 kB / 1.248 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.312, allocations: 81.14 kB / 1.248 GB, free: 13.2 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/1.312, allocations: 0 / 1.248 GB, free: 13.2 MB / 0.92 GB Notification: Performance of Templates: time 0.04505/1.357, allocations: 23.23 MB / 1.271 GB, free: 7.484 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 -s cvode -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