Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008899/0.0089, allocations: 168.9 kB / 16.26 MB, free: 6.648 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: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 462.7 MB / 0.7364 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003876, allocations: 13.03 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.8691/1.234, allocations: 236.4 MB / 1.29 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02041/1.254, allocations: 13.43 MB / 1.303 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/1.257, allocations: 49.69 kB / 1.303 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00337/1.26, allocations: 0.821 MB / 1.304 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007446/1.268, allocations: 1.698 MB / 1.305 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/1.272, allocations: 1.128 MB / 1.306 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006858/1.278, allocations: 4.633 MB / 1.311 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/1.28, allocations: 0.9005 MB / 1.312 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/1.292, allocations: 3.822 MB / 1.315 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/1.294, allocations: 0.9531 MB / 1.316 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/1.294, allocations: 46.69 kB / 1.316 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/1.297, allocations: 1.223 MB / 1.318 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005259/1.298, allocations: 411.8 kB / 1.318 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.299, allocations: 0.6721 MB / 1.319 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/1.303, allocations: 1.671 MB / 1.32 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.303, allocations: 0 / 1.32 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.303, allocations: 0 / 1.32 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.835e-05/1.303, allocations: 0 / 1.32 GB, free: 1.66 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.002861/1.305, allocations: 1.389 MB / 1.322 GB, free: 16.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/1.306, allocations: 9.781 kB / 1.322 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/1.306, allocations: 200.2 kB / 1.322 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/1.308, allocations: 0.8367 MB / 1.323 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/1.308, allocations: 124.7 kB / 1.323 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.308, allocations: 87.47 kB / 1.323 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/1.31, allocations: 0.9479 MB / 1.324 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/1.31, allocations: 11.52 kB / 1.324 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/1.31, allocations: 35.62 kB / 1.324 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/1.31, allocations: 20.41 kB / 1.324 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/1.311, allocations: 0.5215 MB / 1.324 GB, free: 15.98 MB / 1.014 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.005069/1.316, allocations: 4.919 MB / 1.329 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/1.316, allocations: 437.2 kB / 1.33 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/1.317, allocations: 292.8 kB / 1.33 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/1.317, allocations: 102.1 kB / 1.33 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.317, allocations: 57.98 kB / 1.33 GB, free: 11.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 3.297e-06/1.317, allocations: 0 / 1.33 GB, free: 11.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.002312/1.319, allocations: 0.8968 MB / 1.331 GB, free: 11.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/1.319, allocations: 400.3 kB / 1.331 GB, free: 11.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.321, allocations: 1.243 MB / 1.332 GB, free: 10.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/1.321, allocations: 36.45 kB / 1.332 GB, free: 10.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/1.321, allocations: 0.5373 MB / 1.333 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.321, allocations: 120.2 kB / 1.333 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/1.321, allocations: 37.03 kB / 1.333 GB, free: 10.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.322, allocations: 316.4 kB / 1.333 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/1.322, allocations: 102.3 kB / 1.334 GB, free: 10.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/1.322, allocations: 354.5 kB / 1.334 GB, free: 10.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/1.323, allocations: 359.5 kB / 1.334 GB, free: 10.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.323, allocations: 2.734 kB / 1.334 GB, free: 10.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001144/1.324, allocations: 0.5824 MB / 1.335 GB, free: 9.906 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.324, allocations: 193.9 kB / 1.335 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.324, allocations: 3.344 kB / 1.335 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/1.325, allocations: 114.4 kB / 1.335 GB, free: 9.676 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/1.325, allocations: 95.56 kB / 1.335 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/1.327, allocations: 2.325 MB / 1.337 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/1.328, allocations: 106.7 kB / 1.338 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/1.328, allocations: 23.47 kB / 1.338 GB, free: 7.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/1.328, allocations: 5.938 kB / 1.338 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006861/1.328, allocations: 364.8 kB / 1.338 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.328, allocations: 2.938 kB / 1.338 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/1.329, allocations: 73.95 kB / 1.338 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.329, allocations: 67.8 kB / 1.338 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/1.331, allocations: 2.937 MB / 1.341 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007839/1.332, allocations: 116.9 kB / 1.341 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/1.332, allocations: 21.03 kB / 1.341 GB, free: 4.641 MB / 1.014 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005229/1.332, allocations: 351.1 kB / 1.341 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/1.333, allocations: 140.8 kB / 1.342 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/1.334, allocations: 452.2 kB / 1.342 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.334, allocations: 6.25 kB / 1.342 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.334, allocations: 6.906 kB / 1.342 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.334, allocations: 9.484 kB / 1.342 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/1.337, allocations: 2.561 MB / 1.345 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.337, allocations: 5.938 kB / 1.345 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/1.338, allocations: 79.42 kB / 1.345 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/1.338, allocations: 74.81 kB / 1.345 GB, free: 2.746 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.338, allocations: 16.77 kB / 1.345 GB, free: 2.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/1.339, allocations: 2.307 MB / 1.347 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.339, allocations: 8.562 kB / 1.347 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/1.34, allocations: 0.8033 MB / 1.348 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/1.341, allocations: 256.7 kB / 1.348 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.341, allocations: 9.188 kB / 1.348 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/1.341, allocations: 75.42 kB / 1.348 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/1.342, allocations: 37.16 kB / 1.348 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/1.342, allocations: 21.34 kB / 1.348 GB, free: 15.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001014/1.343, allocations: 0.8624 MB / 1.349 GB, free: 15.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.343, allocations: 0 / 1.349 GB, free: 15.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001368/1.344, allocations: 453 kB / 1.349 GB, free: 15.71 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005094/1.345, allocations: 232.1 kB / 1.35 GB, free: 15.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.346, allocations: 0.7511 MB / 1.35 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.346, allocations: 0 / 1.35 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/1.347, allocations: 201.8 kB / 1.351 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.351, allocations: 0.7875 MB / 1.351 GB, free: 15.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/1.354, allocations: 2.194 MB / 1.353 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/1.355, allocations: 1.137 MB / 1.355 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009021/1.356, allocations: 294.6 kB / 1.355 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/1.356, allocations: 86.95 kB / 1.355 GB, free: 13.22 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/1.356, allocations: 7.375 kB / 1.355 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Templates: time 0.04597/1.402, allocations: 25.1 MB / 1.379 GB, free: 2.945 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches