Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001177/0.001177, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001533/0.001533, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004378, allocations: 8 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8114, allocations: 153.8 MB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2552/1.067, allocations: 220.6 MB / 1.238 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7846/1.851, allocations: 12.64 MB / 1.25 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/1.855, allocations: 52.84 kB / 1.25 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/1.858, allocations: 0.6462 MB / 1.251 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007159/1.866, allocations: 1.421 MB / 1.252 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/1.871, allocations: 1.037 MB / 1.253 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009379/1.88, allocations: 3.886 MB / 1.257 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/1.883, allocations: 0.7903 MB / 1.258 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/1.896, allocations: 3.081 MB / 1.261 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/1.899, allocations: 0.8897 MB / 1.262 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006917/1.899, allocations: 47.56 kB / 1.262 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/1.903, allocations: 379.8 kB / 1.262 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/1.904, allocations: 404.1 kB / 1.263 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/1.906, allocations: 286.4 kB / 1.263 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/1.909, allocations: 1.056 MB / 1.264 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.909, allocations: 1 kB / 1.264 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.246e-06/1.909, allocations: 0 / 1.264 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.775e-05/1.909, allocations: 2.906 kB / 1.264 GB, free: 23.46 MB / 0.9981 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.004112/1.913, allocations: 1.395 MB / 1.265 GB, free: 22.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.913, allocations: 11.34 kB / 1.265 GB, free: 22.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/1.914, allocations: 197.3 kB / 1.265 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/1.917, allocations: 0.7896 MB / 1.266 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/1.918, allocations: 123.7 kB / 1.266 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/1.918, allocations: 94.64 kB / 1.266 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/1.92, allocations: 0.9203 MB / 1.267 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/1.92, allocations: 4.094 kB / 1.267 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/1.92, allocations: 34.31 kB / 1.267 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/1.92, allocations: 20.44 kB / 1.267 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/1.921, allocations: 0.5108 MB / 1.268 GB, free: 21.84 MB / 0.9981 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.007116/1.928, allocations: 4.898 MB / 1.273 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/1.929, allocations: 421 kB / 1.273 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/1.93, allocations: 265.2 kB / 1.273 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/1.93, allocations: 105.3 kB / 1.273 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/1.93, allocations: 58 kB / 1.273 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.885e-06/1.93, allocations: 0 / 1.273 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.002205/1.932, allocations: 0.799 MB / 1.274 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/1.932, allocations: 402 kB / 1.275 GB, free: 17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/1.935, allocations: 1.266 MB / 1.276 GB, free: 16.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.935, allocations: 38.77 kB / 1.276 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/1.935, allocations: 0.553 MB / 1.276 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/1.935, allocations: 110.9 kB / 1.277 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/1.935, allocations: 4.625 kB / 1.277 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.935, allocations: 322 kB / 1.277 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.936, allocations: 96.47 kB / 1.277 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/1.936, allocations: 337.4 kB / 1.277 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/1.936, allocations: 140.1 kB / 1.277 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/1.936, allocations: 1.281 kB / 1.277 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001472/1.938, allocations: 0.4973 MB / 1.278 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.938, allocations: 6.531 kB / 1.278 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.938, allocations: 8.078 kB / 1.278 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/1.938, allocations: 68.12 kB / 1.278 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/1.939, allocations: 61.25 kB / 1.278 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/1.942, allocations: 3.022 MB / 1.281 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.944, allocations: 113.6 kB / 1.281 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/1.944, allocations: 18.34 kB / 1.281 GB, free: 13.04 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008164/1.945, allocations: 280.2 kB / 1.281 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006575/1.945, allocations: 146.8 kB / 1.281 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/1.946, allocations: 124.8 kB / 1.282 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.946, allocations: 6.125 kB / 1.282 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/1.946, allocations: 2.969 kB / 1.282 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.946, allocations: 6.141 kB / 1.282 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/1.95, allocations: 2.532 MB / 1.284 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.951, allocations: 7.719 kB / 1.284 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.951, allocations: 53.86 kB / 1.284 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/1.951, allocations: 68.16 kB / 1.284 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.951, allocations: 10.47 kB / 1.284 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/1.954, allocations: 2.931 MB / 1.287 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.954, allocations: 9.812 kB / 1.287 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.955, allocations: 0.6862 MB / 1.288 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/1.955, allocations: 255.7 kB / 1.288 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004351/1.956, allocations: 8.812 kB / 1.288 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.957, allocations: 71.03 kB / 1.288 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.957, allocations: 43.11 kB / 1.288 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/1.957, allocations: 15.44 kB / 1.288 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00146/1.959, allocations: 0.8673 MB / 1.289 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.959, allocations: 0 / 1.289 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001652/1.96, allocations: 263.1 kB / 1.289 GB, free: 7.902 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005679/1.961, allocations: 211.9 kB / 1.289 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.962, allocations: 0.5218 MB / 1.29 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.962, allocations: 2.562 kB / 1.29 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/1.963, allocations: 413.9 kB / 1.29 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.967, allocations: 0.76 MB / 1.291 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/1.971, allocations: 2.078 MB / 1.293 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.972, allocations: 1.144 MB / 1.294 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001375/1.973, allocations: 236.5 kB / 1.294 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/1.973, allocations: 77.19 kB / 1.295 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of SimCode: time 1.202e-06/1.973, allocations: 0 / 1.295 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of Templates: time 0.04499/2.018, allocations: 21.63 MB / 1.316 GB, free: 1.152 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches