Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001829, allocations: 107.8 kB / 16.41 MB, free: 6.508 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.002302/0.002302, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.431/1.431, 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 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.84 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9574/0.9588, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02429/0.9832, allocations: 20.75 MB / 1.188 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007547/0.9908, allocations: 4.943 MB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/0.9917, allocations: 23.81 kB / 1.192 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009846/0.9927, allocations: 278 kB / 1.193 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.9952, allocations: 0.8603 MB / 1.194 GB, free: 8.914 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.9972, allocations: 0.7067 MB / 1.194 GB, free: 8.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.9992, allocations: 1.388 MB / 1.196 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/1, allocations: 448.2 kB / 1.196 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/1.001, allocations: 0.5798 MB / 1.197 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00085/1.002, allocations: 446.2 kB / 1.197 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/1.002, allocations: 40 kB / 1.197 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/1.004, allocations: 0.6316 MB / 1.198 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/1.004, allocations: 123.5 kB / 1.198 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003997/1.004, allocations: 286.5 kB / 1.198 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/1.006, allocations: 0.8469 MB / 1.199 GB, free: 3.441 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.006, allocations: 4 kB / 1.199 GB, free: 3.438 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/1.006, allocations: 0 / 1.199 GB, free: 3.438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.446e-05/1.006, allocations: 4 kB / 1.199 GB, free: 3.434 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001951/1.008, allocations: 0.9226 MB / 1.2 GB, free: 2.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.008, allocations: 8.922 kB / 1.2 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/1.008, allocations: 64.19 kB / 1.2 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/1.009, allocations: 479.3 kB / 1.2 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/1.009, allocations: 24.66 kB / 1.2 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/1.009, allocations: 32 kB / 1.2 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/1.009, allocations: 309.9 kB / 1.201 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.009, allocations: 0 / 1.201 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/1.01, allocations: 12 kB / 1.201 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/1.01, allocations: 12 kB / 1.201 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/1.01, allocations: 262.4 kB / 1.201 GB, free: 1.238 MB / 0.92 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.002448/1.013, allocations: 1.337 MB / 1.202 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/1.013, allocations: 246.5 kB / 1.202 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/1.013, allocations: 140.8 kB / 1.203 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/1.014, allocations: 0.5025 MB / 1.203 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/1.014, allocations: 30.56 kB / 1.203 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/1.014, allocations: 224 / 1.203 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001785/1.016, allocations: 0.5671 MB / 1.204 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/1.016, allocations: 55.34 kB / 1.204 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/1.016, allocations: 466.1 kB / 1.204 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/1.016, allocations: 33.7 kB / 1.204 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/1.017, allocations: 244.5 kB / 1.204 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/1.017, allocations: 94.56 kB / 1.205 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.017, allocations: 73.44 kB / 1.205 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.017, allocations: 362.8 kB / 1.205 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/1.017, allocations: 132.8 kB / 1.205 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/1.018, allocations: 178.6 kB / 1.205 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/1.018, allocations: 269.2 kB / 1.205 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.018, allocations: 0 / 1.205 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001624/1.02, allocations: 497.4 kB / 1.206 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.02, allocations: 4 kB / 1.206 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.02, allocations: 0 / 1.206 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/1.021, allocations: 56.81 kB / 1.206 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/1.021, allocations: 67.89 kB / 1.206 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/1.021, allocations: 0.5679 MB / 1.207 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/1.022, allocations: 43.78 kB / 1.207 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/1.022, allocations: 19.98 kB / 1.207 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004238/1.022, allocations: 240 kB / 1.207 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003621/1.023, allocations: 177.2 kB / 1.207 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005994/1.023, allocations: 264.1 kB / 1.207 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/1.023, allocations: 0 / 1.207 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007942/1.024, allocations: 382.1 kB / 1.208 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.024, allocations: 4 kB / 1.208 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/1.024, allocations: 160 / 1.208 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.024, allocations: 4 kB / 1.208 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/1.025, allocations: 83.81 kB / 1.208 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.025, allocations: 7.984 kB / 1.208 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/1.025, allocations: 47.8 kB / 1.208 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.025, allocations: 12 kB / 1.208 GB, free: 9.691 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.025, allocations: 200.1 kB / 1.208 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/1.025, allocations: 47.44 kB / 1.208 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/1.026, allocations: 420.9 kB / 1.208 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.026, allocations: 4 kB / 1.208 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.026, allocations: 0 / 1.208 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.026, allocations: 0 / 1.208 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/1.028, allocations: 0.9571 MB / 1.209 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.028, allocations: 0 / 1.209 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/1.028, allocations: 44.09 kB / 1.209 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/1.028, allocations: 44.83 kB / 1.21 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/1.028, allocations: 4 kB / 1.21 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003569/1.029, allocations: 0.5679 MB / 1.21 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.029, allocations: 3.938 kB / 1.21 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/1.03, allocations: 495.5 kB / 1.211 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/1.03, allocations: 152.4 kB / 1.211 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/1.03, allocations: 12 kB / 1.211 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/1.03, allocations: 23.97 kB / 1.211 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/1.03, allocations: 23.91 kB / 1.211 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.03, allocations: 15.98 kB / 1.211 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003341/1.031, allocations: 322.9 kB / 1.211 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.031, allocations: 0 / 1.211 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008119/1.031, allocations: 251.5 kB / 1.211 GB, free: 5.977 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005919/1.032, allocations: 260.6 kB / 1.212 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.033, allocations: 458 kB / 1.212 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.033, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/1.034, allocations: 171.8 kB / 1.212 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.035, allocations: 224.5 kB / 1.212 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.036, allocations: 0.8672 MB / 1.213 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/1.037, allocations: 0.8548 MB / 1.214 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/1.037, allocations: 43.44 kB / 1.214 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.037, allocations: 0 / 1.214 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of Templates: time 0.01683/1.054, allocations: 10.17 MB / 1.224 GB, free: 8.98 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches