Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001345, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001353/0.001353, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 482.4 MB / 0.7543 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 70.48 kB / 0.9233 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 162.2 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01816/0.3133, allocations: 15.27 MB / 1.097 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006513/0.3198, allocations: 4.61 MB / 1.101 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.3203, allocations: 11.88 kB / 1.101 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.3209, allocations: 166.9 kB / 1.101 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.3222, allocations: 0.5132 MB / 1.102 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3236, allocations: 0.5173 MB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.3248, allocations: 0.9392 MB / 1.103 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004303/0.3252, allocations: 311.8 kB / 1.104 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.326, allocations: 458.1 kB / 1.104 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.3264, allocations: 306.6 kB / 1.104 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.3264, allocations: 27.94 kB / 1.104 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.3268, allocations: 203.7 kB / 1.105 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.327, allocations: 91.59 kB / 1.105 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3272, allocations: 198.8 kB / 1.105 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.3278, allocations: 0.4906 MB / 1.105 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3278, allocations: 0 / 1.105 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3278, allocations: 3.938 kB / 1.105 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3278, allocations: 3.938 kB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001158/0.329, allocations: 0.728 MB / 1.106 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.329, allocations: 8.031 kB / 1.106 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.3291, allocations: 48.38 kB / 1.106 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.3297, allocations: 386 kB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3297, allocations: 28.56 kB / 1.106 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.3298, allocations: 24 kB / 1.106 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.3301, allocations: 191.3 kB / 1.107 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3301, allocations: 0 / 1.107 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3302, allocations: 12 kB / 1.107 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3302, allocations: 4 kB / 1.107 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.3304, allocations: 129.7 kB / 1.107 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3319, allocations: 0.8751 MB / 1.108 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.3323, allocations: 114.6 kB / 1.108 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.3324, allocations: 52.78 kB / 1.108 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.3327, allocations: 332.4 kB / 1.108 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3328, allocations: 38.56 kB / 1.108 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3328, allocations: 0 / 1.108 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003552/0.3331, allocations: 169.2 kB / 1.108 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3332, allocations: 55.34 kB / 1.108 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.3338, allocations: 449.8 kB / 1.109 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3338, allocations: 33.7 kB / 1.109 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.334, allocations: 208.3 kB / 1.109 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.334, allocations: 47.38 kB / 1.109 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.3341, allocations: 57.64 kB / 1.109 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3343, allocations: 346.8 kB / 1.109 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3344, allocations: 51.97 kB / 1.11 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3346, allocations: 101.1 kB / 1.11 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3348, allocations: 143.2 kB / 1.11 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.3348, allocations: 4.062 kB / 1.11 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003582/0.3352, allocations: 221 kB / 1.11 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3352, allocations: 13.33 kB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3352, allocations: 4 kB / 1.11 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3352, allocations: 0 / 1.11 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3354, allocations: 39.98 kB / 1.11 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3354, allocations: 0 / 1.11 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.3358, allocations: 47.66 kB / 1.11 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3358, allocations: 12 kB / 1.11 GB, free: 168 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.336, allocations: 153.7 kB / 1.11 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.3361, allocations: 35.7 kB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.3364, allocations: 207 kB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3365, allocations: 4 kB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3365, allocations: 0 / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3365, allocations: 0 / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.3373, allocations: 0.6107 MB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3373, allocations: 0 / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3374, allocations: 20.12 kB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3374, allocations: 11.98 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3374, allocations: 4 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3375, allocations: 7.938 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3375, allocations: 3.938 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.3378, allocations: 294.6 kB / 1.111 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3379, allocations: 128.6 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.338, allocations: 7.938 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.3382, allocations: 15.92 kB / 1.112 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3383, allocations: 19.92 kB / 1.112 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3383, allocations: 8 kB / 1.112 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004005/0.3387, allocations: 315.1 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3387, allocations: 0 / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004109/0.3391, allocations: 111.8 kB / 1.112 GB, free: 14.11 MB / 0.8731 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000438/0.3396, allocations: 212.7 kB / 1.112 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.3399, allocations: 135.8 kB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3399, allocations: 0 / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.34, allocations: 67.84 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.341, allocations: 188.5 kB / 1.113 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3424, allocations: 0.7596 MB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.3428, allocations: 0.8074 MB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00024/0.3431, allocations: 62.11 kB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3431, allocations: 35.42 kB / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.3432, allocations: 8 kB / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.01362/0.3568, allocations: 6.99 MB / 1.121 GB, free: 4.926 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches