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.001323/0.001323, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001809/0.001809, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.14 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.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.25 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2835, allocations: 140.4 MB / 0.9511 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8111/1.095, allocations: 241.9 MB / 1.187 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01984/1.115, allocations: 13.54 MB / 1.201 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/1.118, allocations: 66.59 kB / 1.201 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/1.121, allocations: 0.9722 MB / 1.202 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005712/1.127, allocations: 1.789 MB / 1.203 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/1.13, allocations: 1.235 MB / 1.205 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00552/1.136, allocations: 3.26 MB / 1.208 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/1.138, allocations: 1.053 MB / 1.209 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/1.148, allocations: 4.122 MB / 1.213 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.15, allocations: 0.8989 MB / 1.214 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/1.15, allocations: 79.66 kB / 1.214 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/1.152, allocations: 0.6968 MB / 1.214 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/1.152, allocations: 442.5 kB / 1.215 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008996/1.153, allocations: 0.6842 MB / 1.215 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/1.155, allocations: 1.527 MB / 1.217 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.155, allocations: 0 / 1.217 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.204e-06/1.155, allocations: 0 / 1.217 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.984e-05/1.155, allocations: 0 / 1.217 GB, free: 7.203 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.002343/1.158, allocations: 1.617 MB / 1.219 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.158, allocations: 10.19 kB / 1.219 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006747/1.158, allocations: 205 kB / 1.219 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/1.16, allocations: 0.9005 MB / 1.22 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/1.16, allocations: 124.1 kB / 1.22 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/1.16, allocations: 81.59 kB / 1.22 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/1.162, allocations: 0.9257 MB / 1.221 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/1.162, allocations: 6.75 kB / 1.221 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/1.162, allocations: 31.62 kB / 1.221 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/1.162, allocations: 21.69 kB / 1.221 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/1.163, allocations: 0.5039 MB / 1.221 GB, free: 4.117 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.004823/1.167, allocations: 4.851 MB / 1.226 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/1.168, allocations: 427.7 kB / 1.226 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/1.168, allocations: 263.7 kB / 1.227 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/1.169, allocations: 104.4 kB / 1.227 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/1.169, allocations: 51.66 kB / 1.227 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.905e-06/1.169, allocations: 0 / 1.227 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001798/1.171, allocations: 0.7811 MB / 1.228 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/1.171, allocations: 398.2 kB / 1.228 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/1.172, allocations: 1.272 MB / 1.229 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/1.172, allocations: 34.55 kB / 1.229 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/1.173, allocations: 0.5617 MB / 1.23 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/1.173, allocations: 107.3 kB / 1.23 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.173, allocations: 81.89 kB / 1.23 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.173, allocations: 320.7 kB / 1.23 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/1.173, allocations: 94.98 kB / 1.23 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/1.174, allocations: 336.6 kB / 1.231 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/1.174, allocations: 336.3 kB / 1.231 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.174, allocations: 2.531 kB / 1.231 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000829/1.175, allocations: 490.7 kB / 1.231 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.175, allocations: 8.25 kB / 1.231 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.175, allocations: 2.562 kB / 1.231 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/1.175, allocations: 76.66 kB / 1.232 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/1.176, allocations: 62.84 kB / 1.232 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/1.178, allocations: 3.267 MB / 1.235 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/1.179, allocations: 92.23 kB / 1.235 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.179, allocations: 24.92 kB / 1.235 GB, free: 7.867 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.0003748/1.179, allocations: 269.6 kB / 1.235 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/1.18, allocations: 143.7 kB / 1.235 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.18, allocations: 123.9 kB / 1.235 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/1.18, allocations: 4.656 kB / 1.235 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.18, allocations: 8.938 kB / 1.235 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/1.18, allocations: 9.172 kB / 1.235 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/1.183, allocations: 2.518 MB / 1.238 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.183, allocations: 6.25 kB / 1.238 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/1.183, allocations: 49.48 kB / 1.238 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/1.183, allocations: 65.23 kB / 1.238 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.183, allocations: 15.91 kB / 1.238 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/1.186, allocations: 3.265 MB / 1.241 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.186, allocations: 7.312 kB / 1.241 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/1.187, allocations: 0.6708 MB / 1.242 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/1.187, allocations: 250.7 kB / 1.242 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.187, allocations: 14.81 kB / 1.242 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/1.188, allocations: 46.94 kB / 1.242 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/1.188, allocations: 39.09 kB / 1.242 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/1.188, allocations: 12.56 kB / 1.242 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001068/1.189, allocations: 0.8792 MB / 1.243 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.189, allocations: 4 kB / 1.243 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009413/1.19, allocations: 262.4 kB / 1.243 GB, free: 0.6562 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.0005122/1.19, allocations: 214.7 kB / 1.244 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009356/1.191, allocations: 0.519 MB / 1.244 GB, free: 148 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.191, allocations: 6.281 kB / 1.244 GB, free: 144 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000532/1.192, allocations: 408.1 kB / 1.244 GB, free: 15.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/1.195, allocations: 0.7466 MB / 1.245 GB, free: 15.42 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/1.198, allocations: 1.812 MB / 1.247 GB, free: 14.24 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/1.198, allocations: 1.135 MB / 1.248 GB, free: 13.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007836/1.199, allocations: 241.3 kB / 1.248 GB, free: 13.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.199, allocations: 76.16 kB / 1.248 GB, free: 13.22 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/1.199, allocations: 0 / 1.248 GB, free: 13.22 MB / 0.92 GB Notification: Performance of Templates: time 0.04045/1.24, allocations: 23.24 MB / 1.271 GB, free: 7.512 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 gbode -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