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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009859/0.0009858, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 173 kB / 16.92 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.894/2.894, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003255, allocations: 11.56 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.8385/1.127, allocations: 236.4 MB / 1.29 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01715/1.144, allocations: 13.42 MB / 1.303 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/1.146, allocations: 49.25 kB / 1.303 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/1.148, allocations: 0.8191 MB / 1.304 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/1.154, allocations: 1.692 MB / 1.306 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/1.157, allocations: 1.129 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006653/1.164, allocations: 4.638 MB / 1.311 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/1.166, allocations: 0.8957 MB / 1.312 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/1.176, allocations: 3.832 MB / 1.316 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/1.178, allocations: 0.9383 MB / 1.317 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002846/1.178, allocations: 47.5 kB / 1.317 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/1.181, allocations: 1.23 MB / 1.318 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/1.181, allocations: 416.8 kB / 1.319 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/1.183, allocations: 0.6718 MB / 1.319 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/1.184, allocations: 1.16 MB / 1.32 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.184, allocations: 0 / 1.32 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/1.184, allocations: 0 / 1.32 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.29e-05/1.184, allocations: 1.844 kB / 1.32 GB, free: 1.43 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.002249/1.186, allocations: 1.393 MB / 1.322 GB, free: 16.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.186, allocations: 16.02 kB / 1.322 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/1.187, allocations: 197.7 kB / 1.322 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.188, allocations: 0.8312 MB / 1.323 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.189, allocations: 128.8 kB / 1.323 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.189, allocations: 84.69 kB / 1.323 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/1.19, allocations: 0.9506 MB / 1.324 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.19, allocations: 6.188 kB / 1.324 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/1.19, allocations: 34.03 kB / 1.324 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/1.19, allocations: 21.16 kB / 1.324 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/1.191, allocations: 0.5245 MB / 1.324 GB, free: 15.75 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.004737/1.196, allocations: 4.919 MB / 1.329 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/1.197, allocations: 434.6 kB / 1.33 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/1.197, allocations: 290 kB / 1.33 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.197, allocations: 111.2 kB / 1.33 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.197, allocations: 55.31 kB / 1.33 GB, free: 11.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/1.197, allocations: 3.938 kB / 1.33 GB, free: 11.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.002379/1.2, allocations: 0.8981 MB / 1.331 GB, free: 11.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/1.2, allocations: 400.4 kB / 1.331 GB, free: 10.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.201, allocations: 1.237 MB / 1.333 GB, free: 10.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.201, allocations: 39.36 kB / 1.333 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/1.202, allocations: 0.5337 MB / 1.333 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.202, allocations: 125.2 kB / 1.333 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/1.202, allocations: 32.59 kB / 1.333 GB, free: 10.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/1.202, allocations: 316.3 kB / 1.334 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/1.202, allocations: 105.9 kB / 1.334 GB, free: 10.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/1.202, allocations: 356.4 kB / 1.334 GB, free: 9.938 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/1.203, allocations: 355.3 kB / 1.334 GB, free: 9.812 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.203, allocations: 2.688 kB / 1.334 GB, free: 9.812 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001284/1.204, allocations: 0.5825 MB / 1.335 GB, free: 9.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.204, allocations: 185.2 kB / 1.335 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.204, allocations: 6.906 kB / 1.335 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/1.205, allocations: 118.5 kB / 1.335 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/1.206, allocations: 99.81 kB / 1.335 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/1.207, allocations: 2.32 MB / 1.338 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009268/1.208, allocations: 106.5 kB / 1.338 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/1.208, allocations: 23.61 kB / 1.338 GB, free: 7.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/1.208, allocations: 6.25 kB / 1.338 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007008/1.209, allocations: 359.5 kB / 1.338 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.209, allocations: 3.25 kB / 1.338 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/1.209, allocations: 77.88 kB / 1.338 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/1.209, allocations: 70.66 kB / 1.338 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.211, allocations: 2.934 MB / 1.341 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/1.212, allocations: 116.8 kB / 1.341 GB, free: 4.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/1.213, allocations: 21.12 kB / 1.341 GB, free: 4.41 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.0005219/1.213, allocations: 347.8 kB / 1.342 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/1.213, allocations: 144.6 kB / 1.342 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/1.214, allocations: 460.6 kB / 1.342 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/1.214, allocations: 12.03 kB / 1.342 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.214, allocations: 3.094 kB / 1.342 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.214, allocations: 5.531 kB / 1.342 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/1.218, allocations: 2.559 MB / 1.345 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.218, allocations: 5.312 kB / 1.345 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/1.218, allocations: 74.67 kB / 1.345 GB, free: 2.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/1.218, allocations: 85.64 kB / 1.345 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.218, allocations: 21.31 kB / 1.345 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.219, allocations: 2.306 MB / 1.347 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.219, allocations: 6.312 kB / 1.347 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.22, allocations: 0.795 MB / 1.348 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/1.221, allocations: 253.3 kB / 1.348 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.221, allocations: 18.39 kB / 1.348 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/1.222, allocations: 74.03 kB / 1.348 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/1.222, allocations: 33.73 kB / 1.348 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/1.222, allocations: 20.75 kB / 1.348 GB, free: 15.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009824/1.223, allocations: 0.869 MB / 1.349 GB, free: 15.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.223, allocations: 0 / 1.349 GB, free: 15.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001408/1.224, allocations: 450.5 kB / 1.35 GB, free: 15.46 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.0004616/1.225, allocations: 224.6 kB / 1.35 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00169/1.227, allocations: 0.7502 MB / 1.35 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.227, allocations: 3.188 kB / 1.35 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/1.227, allocations: 207 kB / 1.351 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.232, allocations: 0.7829 MB / 1.351 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/1.235, allocations: 2.247 MB / 1.354 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/1.236, allocations: 1.135 MB / 1.355 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.236, allocations: 97.95 kB / 1.355 GB, free: 13.01 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/1.236, allocations: 2.625 kB / 1.355 GB, free: 13.01 MB / 1.029 GB Notification: Performance of Templates: time 0.04361/1.28, allocations: 36.7 MB / 1.391 GB, free: 11.89 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res11.m_flow,res21.m_flow,res31.dp,res41.dp Variables in the result:res11.m_flow,res21.m_flow,res31.dp,res41.dp,time