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.001497/0.001497, allocations: 113.6 kB / 16.42 MB, free: 6.441 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.001596/0.001596, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.09 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.405/2.405, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7912, 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.01773/0.809, allocations: 15.42 MB / 1.182 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006208/0.8152, allocations: 4.662 MB / 1.187 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.8158, allocations: 15.88 kB / 1.187 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.8164, allocations: 198.6 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.8179, allocations: 0.5993 MB / 1.188 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.8194, allocations: 0.5725 MB / 1.188 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.8205, allocations: 0.9665 MB / 1.189 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004478/0.821, allocations: 319.5 kB / 1.19 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.8217, allocations: 418.3 kB / 1.19 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.8221, allocations: 306.6 kB / 1.19 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.8222, allocations: 24 kB / 1.19 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.8227, allocations: 211.6 kB / 1.19 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.8228, allocations: 91.55 kB / 1.191 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.823, allocations: 210.8 kB / 1.191 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.8237, allocations: 0.5041 MB / 1.191 GB, free: 11.28 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.8237, allocations: 0 / 1.191 GB, free: 11.28 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8237, allocations: 0 / 1.191 GB, free: 11.28 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.8237, allocations: 4 kB / 1.191 GB, free: 11.27 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.001091/0.8248, allocations: 0.7303 MB / 1.192 GB, free: 10.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8248, allocations: 8.922 kB / 1.192 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.825, allocations: 52.31 kB / 1.192 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.8256, allocations: 410 kB / 1.192 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.8256, allocations: 28.55 kB / 1.192 GB, free: 9.973 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.8257, allocations: 20 kB / 1.192 GB, free: 9.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.826, allocations: 203.2 kB / 1.193 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8261, allocations: 0 / 1.193 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.8261, allocations: 11.94 kB / 1.193 GB, free: 9.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.8261, allocations: 4 kB / 1.193 GB, free: 9.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.8263, allocations: 129.7 kB / 1.193 GB, free: 9.609 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.001414/0.8277, allocations: 0.8751 MB / 1.194 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.8282, allocations: 114.6 kB / 1.194 GB, free: 8.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.8283, allocations: 48.83 kB / 1.194 GB, free: 8.484 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.8286, allocations: 336.4 kB / 1.194 GB, free: 8.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.8286, allocations: 38.5 kB / 1.194 GB, free: 8.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.8286, allocations: 4 kB / 1.194 GB, free: 8.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003707/0.829, allocations: 173.1 kB / 1.194 GB, free: 7.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.829, allocations: 51.41 kB / 1.194 GB, free: 7.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.8296, allocations: 465.8 kB / 1.195 GB, free: 7.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.8296, allocations: 29.7 kB / 1.195 GB, free: 7.293 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.8298, allocations: 212.3 kB / 1.195 GB, free: 7.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.8298, allocations: 43.39 kB / 1.195 GB, free: 7.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.8299, allocations: 53.61 kB / 1.195 GB, free: 6.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8301, allocations: 346.8 kB / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.8302, allocations: 51.97 kB / 1.195 GB, free: 6.582 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.8303, allocations: 109 kB / 1.196 GB, free: 6.457 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.8305, allocations: 135.3 kB / 1.196 GB, free: 6.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8306, allocations: 3.938 kB / 1.196 GB, free: 6.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003467/0.8309, allocations: 221 kB / 1.196 GB, free: 6.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8309, allocations: 8 kB / 1.196 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8309, allocations: 0 / 1.196 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.831, allocations: 8 kB / 1.196 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.8312, allocations: 39.92 kB / 1.196 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8312, allocations: 4 kB / 1.196 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.8315, allocations: 39.66 kB / 1.196 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.8316, allocations: 12 kB / 1.196 GB, free: 5.977 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.0001515/0.8317, allocations: 153.6 kB / 1.196 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.8318, allocations: 39.53 kB / 1.196 GB, free: 5.777 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.8321, allocations: 197.1 kB / 1.196 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8322, allocations: 3.984 kB / 1.196 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8322, allocations: 0 / 1.196 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.8323, allocations: 128.5 kB / 1.197 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.8324, allocations: 8 kB / 1.197 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.8326, allocations: 7.984 kB / 1.197 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.8326, allocations: 15.92 kB / 1.197 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002994/0.8329, allocations: 233 kB / 1.197 GB, free: 5.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002933/0.8332, allocations: 348.8 kB / 1.197 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.649e-05/0.8333, allocations: 56.41 kB / 1.197 GB, free: 4.758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003732/0.8337, allocations: 323.1 kB / 1.197 GB, free: 4.445 MB / 0.92 GB Notification: Performance of Backend: time 4.31e-07/0.8337, allocations: 0 / 1.197 GB, free: 4.445 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008563/0.8346, allocations: 285.3 kB / 1.198 GB, free: 4.176 MB / 0.92 GB Notification: Performance of SimCode: time 0.001656/0.8362, allocations: 1.163 MB / 1.199 GB, free: 2.965 MB / 0.92 GB Notification: Performance of Templates: time 0.01345/0.8497, allocations: 7.069 MB / 1.206 GB, free: 12.03 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