Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.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.001763/0.001763, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001254/0.001254, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.304/1.304, 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.412/2.412, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8526/0.8539, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01721/0.8711, allocations: 15.41 MB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006894/0.8781, allocations: 4.664 MB / 1.187 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.8788, allocations: 19.88 kB / 1.187 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.8796, allocations: 194.6 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.8814, allocations: 0.5885 MB / 1.188 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.883, allocations: 0.579 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.8844, allocations: 0.9665 MB / 1.189 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.885, allocations: 326.5 kB / 1.19 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008046/0.8858, allocations: 414.3 kB / 1.19 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.8862, allocations: 302.6 kB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.8863, allocations: 28 kB / 1.19 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.8869, allocations: 211.6 kB / 1.19 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.887, allocations: 91.59 kB / 1.191 GB, free: 12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.8872, allocations: 206.8 kB / 1.191 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007369/0.8879, allocations: 0.5041 MB / 1.191 GB, free: 11.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.888, allocations: 3.938 kB / 1.191 GB, free: 11.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.888, allocations: 0 / 1.191 GB, free: 11.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.888, allocations: 0 / 1.191 GB, free: 11.29 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001237/0.8892, allocations: 0.7319 MB / 1.192 GB, free: 10.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8893, allocations: 12.86 kB / 1.192 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.8894, allocations: 48.38 kB / 1.192 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.8901, allocations: 410 kB / 1.192 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.8901, allocations: 24.56 kB / 1.192 GB, free: 9.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.8902, allocations: 24 kB / 1.192 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.8905, allocations: 191.3 kB / 1.193 GB, free: 9.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8906, allocations: 0 / 1.193 GB, free: 9.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8906, allocations: 15.94 kB / 1.193 GB, free: 9.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.8906, allocations: 8 kB / 1.193 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.8908, allocations: 133.7 kB / 1.193 GB, free: 9.617 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.001492/0.8923, allocations: 0.8751 MB / 1.194 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.8928, allocations: 106.6 kB / 1.194 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.8929, allocations: 56.83 kB / 1.194 GB, free: 8.492 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.8932, allocations: 336.4 kB / 1.194 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.8932, allocations: 38.5 kB / 1.194 GB, free: 8.043 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.8932, allocations: 0 / 1.194 GB, free: 8.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003919/0.8936, allocations: 173.1 kB / 1.194 GB, free: 7.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.8937, allocations: 51.41 kB / 1.194 GB, free: 7.805 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.8942, allocations: 461.8 kB / 1.195 GB, free: 7.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.8943, allocations: 29.7 kB / 1.195 GB, free: 7.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.8945, allocations: 216.3 kB / 1.195 GB, free: 7.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.8945, allocations: 43.39 kB / 1.195 GB, free: 7.051 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.8946, allocations: 57.59 kB / 1.195 GB, free: 6.988 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8947, allocations: 350.8 kB / 1.195 GB, free: 6.637 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.8948, allocations: 43.98 kB / 1.195 GB, free: 6.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.895, allocations: 107.5 kB / 1.196 GB, free: 6.473 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.8952, allocations: 147.2 kB / 1.196 GB, free: 6.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8952, allocations: 4.062 kB / 1.196 GB, free: 6.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003626/0.8956, allocations: 217 kB / 1.196 GB, free: 6.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8956, allocations: 4 kB / 1.196 GB, free: 6.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8956, allocations: 0 / 1.196 GB, free: 6.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8957, allocations: 4 kB / 1.196 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.8959, allocations: 43.91 kB / 1.196 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.8959, allocations: 4 kB / 1.196 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.8962, allocations: 39.67 kB / 1.196 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.8963, allocations: 11.94 kB / 1.196 GB, free: 5.988 MB / 0.92 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.0001667/0.8964, allocations: 157.7 kB / 1.196 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.8965, allocations: 35.53 kB / 1.196 GB, free: 5.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.8969, allocations: 194.1 kB / 1.196 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.8969, allocations: 4 kB / 1.196 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8969, allocations: 4 kB / 1.196 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8969, allocations: 0 / 1.196 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008508/0.8978, allocations: 0.6262 MB / 1.197 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.8978, allocations: 4 kB / 1.197 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.8979, allocations: 23.98 kB / 1.197 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.8979, allocations: 128 / 1.197 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.8979, allocations: 12 kB / 1.197 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.8979, allocations: 288 / 1.197 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.898, allocations: 3.938 kB / 1.197 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.8983, allocations: 298.8 kB / 1.197 GB, free: 4.531 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.8984, allocations: 140.4 kB / 1.197 GB, free: 4.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.8985, allocations: 0 / 1.197 GB, free: 4.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.8987, allocations: 15.98 kB / 1.198 GB, free: 4.359 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.8988, allocations: 11.92 kB / 1.198 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.8988, allocations: 4 kB / 1.198 GB, free: 4.344 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004044/0.8992, allocations: 331 kB / 1.198 GB, free: 4.023 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8992, allocations: 4 kB / 1.198 GB, free: 4.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004567/0.8997, allocations: 99.94 kB / 1.198 GB, free: 3.922 MB / 0.92 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.0005278/0.9002, allocations: 218.5 kB / 1.198 GB, free: 3.711 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.9005, allocations: 135.8 kB / 1.198 GB, free: 3.578 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9005, allocations: 0 / 1.198 GB, free: 3.578 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.9006, allocations: 55.92 kB / 1.198 GB, free: 3.523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.9016, allocations: 196 kB / 1.199 GB, free: 3.336 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.903, allocations: 0.6831 MB / 1.199 GB, free: 2.609 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.9034, allocations: 0.8035 MB / 1.2 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.9035, allocations: 39.42 kB / 1.2 GB, free: 1.742 MB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.9035, allocations: 0 / 1.2 GB, free: 1.742 MB / 0.92 GB Notification: Performance of Templates: time 0.01113/0.9147, allocations: 6.343 MB / 1.206 GB, free: 11.48 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches