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.001384/0.001384, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001492/0.001492, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.802, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0203/0.8223, allocations: 15.42 MB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007145/0.8295, allocations: 4.662 MB / 1.187 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.8303, allocations: 19.88 kB / 1.187 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.8311, allocations: 190.6 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.8332, allocations: 0.5959 MB / 1.188 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.8351, allocations: 0.5677 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.8366, allocations: 0.9704 MB / 1.189 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.8372, allocations: 315.8 kB / 1.19 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.838, allocations: 410.3 kB / 1.19 GB, free: 12.63 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.8385, allocations: 306.5 kB / 1.19 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.045e-05/0.8386, allocations: 24 kB / 1.19 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006012/0.8392, allocations: 227.6 kB / 1.19 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.8394, allocations: 79.62 kB / 1.191 GB, free: 12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.8396, allocations: 210.8 kB / 1.191 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.8405, allocations: 0.5062 MB / 1.191 GB, free: 11.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8405, allocations: 0 / 1.191 GB, free: 11.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8405, allocations: 0 / 1.191 GB, free: 11.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.8405, allocations: 0 / 1.191 GB, free: 11.3 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.001454/0.842, allocations: 0.7587 MB / 1.192 GB, free: 10.49 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.842, allocations: 8.031 kB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.8422, allocations: 48.66 kB / 1.192 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.8431, allocations: 418.3 kB / 1.192 GB, free: 9.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.8431, allocations: 20.56 kB / 1.192 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.8432, allocations: 28 kB / 1.192 GB, free: 9.941 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.8436, allocations: 191.3 kB / 1.193 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.8436, allocations: 0 / 1.193 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.8437, allocations: 4 kB / 1.193 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.8437, allocations: 4 kB / 1.193 GB, free: 9.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.8439, allocations: 137.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.001688/0.8456, allocations: 0.8799 MB / 1.194 GB, free: 8.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.8461, allocations: 118.6 kB / 1.194 GB, free: 8.527 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8462, allocations: 48.83 kB / 1.194 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.8465, allocations: 340.4 kB / 1.194 GB, free: 8.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.8466, allocations: 34.56 kB / 1.194 GB, free: 8.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.8466, allocations: 0 / 1.194 GB, free: 8.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003904/0.847, allocations: 181.6 kB / 1.194 GB, free: 7.844 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.847, allocations: 59.39 kB / 1.194 GB, free: 7.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.8476, allocations: 453.9 kB / 1.195 GB, free: 7.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.8476, allocations: 33.7 kB / 1.195 GB, free: 7.281 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.8478, allocations: 204.5 kB / 1.195 GB, free: 7.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.8478, allocations: 47.58 kB / 1.195 GB, free: 7.031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.848, allocations: 61.64 kB / 1.195 GB, free: 6.965 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.8481, allocations: 346.8 kB / 1.195 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.8482, allocations: 51.97 kB / 1.196 GB, free: 6.566 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.8484, allocations: 105.1 kB / 1.196 GB, free: 6.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.8486, allocations: 131.3 kB / 1.196 GB, free: 6.305 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8486, allocations: 3.938 kB / 1.196 GB, free: 6.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004086/0.849, allocations: 221.2 kB / 1.196 GB, free: 6.078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.8491, allocations: 4 kB / 1.196 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8491, allocations: 8.062 kB / 1.196 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8491, allocations: 0 / 1.196 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.8493, allocations: 47.97 kB / 1.196 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.8494, allocations: 0 / 1.196 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.8497, allocations: 39.77 kB / 1.196 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.8497, allocations: 15.92 kB / 1.196 GB, free: 5.965 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.0001695/0.8499, allocations: 153.8 kB / 1.196 GB, free: 5.805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.85, allocations: 43.72 kB / 1.196 GB, free: 5.762 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.8504, allocations: 195.7 kB / 1.196 GB, free: 5.57 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8504, allocations: 4 kB / 1.196 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8504, allocations: 0 / 1.196 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.8505, allocations: 136.8 kB / 1.197 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.8506, allocations: 192 / 1.197 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.8508, allocations: 15.98 kB / 1.197 GB, free: 5.398 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.8509, allocations: 15.86 kB / 1.197 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003394/0.8512, allocations: 230.1 kB / 1.197 GB, free: 5.152 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003267/0.8516, allocations: 353 kB / 1.197 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.929e-05/0.8517, allocations: 59.97 kB / 1.197 GB, free: 4.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004119/0.8521, allocations: 323.1 kB / 1.198 GB, free: 4.422 MB / 0.92 GB Notification: Performance of Backend: time 1.513e-06/0.8521, allocations: 0 / 1.198 GB, free: 4.422 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.8531, allocations: 280.5 kB / 1.198 GB, free: 4.152 MB / 0.92 GB Notification: Performance of SimCode: time 0.001762/0.8549, allocations: 1.176 MB / 1.199 GB, free: 2.934 MB / 0.92 GB Notification: Performance of Templates: time 0.01353/0.8684, allocations: 7.08 MB / 1.206 GB, free: 11.99 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