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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001446/0.001446, allocations: 106 kB / 16.36 MB, free: 6.34 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.001481/0.001481, allocations: 191.7 kB / 17.29 MB, free: 5.898 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.196/2.196, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.36 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2387, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01493/0.2536, allocations: 15.41 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005413/0.2591, allocations: 4.677 MB / 1.038 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.2595, allocations: 15.88 kB / 1.038 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.26, allocations: 190.6 kB / 1.039 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.2612, allocations: 0.5651 MB / 1.039 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2625, allocations: 0.5815 MB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.2636, allocations: 0.9587 MB / 1.041 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.264, allocations: 323.8 kB / 1.041 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.2646, allocations: 406.3 kB / 1.041 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.265, allocations: 310.6 kB / 1.042 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.265, allocations: 24 kB / 1.042 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.2655, allocations: 215.6 kB / 1.042 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2656, allocations: 87.61 kB / 1.042 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.2658, allocations: 206.8 kB / 1.042 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.2663, allocations: 0.5061 MB / 1.043 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2663, allocations: 0 / 1.043 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2663, allocations: 0 / 1.043 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2664, allocations: 0 / 1.043 GB, free: 1.355 MB / 0.8106 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.001006/0.2674, allocations: 0.7357 MB / 1.043 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.2674, allocations: 8.922 kB / 1.043 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.2675, allocations: 48.38 kB / 1.043 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.2681, allocations: 410 kB / 1.044 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2681, allocations: 24.56 kB / 1.044 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.2681, allocations: 27.98 kB / 1.044 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2684, allocations: 191.3 kB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2684, allocations: 0 / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2685, allocations: 12 kB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2685, allocations: 4 kB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.2687, allocations: 137.6 kB / 1.044 GB, free: 15.68 MB / 0.8262 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.001287/0.27, allocations: 0.8751 MB / 1.045 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.2704, allocations: 114.6 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.2705, allocations: 52.83 kB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.2707, allocations: 340.4 kB / 1.046 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2707, allocations: 42.5 kB / 1.046 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.2707, allocations: 0 / 1.046 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003149/0.2711, allocations: 173.1 kB / 1.046 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.2711, allocations: 51.41 kB / 1.046 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.2716, allocations: 461.8 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2716, allocations: 25.7 kB / 1.046 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2717, allocations: 216.2 kB / 1.046 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2718, allocations: 39.45 kB / 1.046 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.2719, allocations: 49.7 kB / 1.047 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.272, allocations: 354.8 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.2721, allocations: 43.97 kB / 1.047 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2722, allocations: 111.3 kB / 1.047 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.2724, allocations: 143.2 kB / 1.047 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2724, allocations: 0 / 1.047 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003233/0.2727, allocations: 225 kB / 1.047 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2728, allocations: 4 kB / 1.047 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2728, allocations: 0 / 1.047 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2728, allocations: 4 kB / 1.047 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.273, allocations: 43.92 kB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.273, allocations: 4 kB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2733, allocations: 35.75 kB / 1.047 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.2733, allocations: 12 kB / 1.047 GB, free: 12.05 MB / 0.8262 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.0001295/0.2735, allocations: 157.7 kB / 1.048 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.2735, allocations: 39.44 kB / 1.048 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.2738, allocations: 191.7 kB / 1.048 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.2739, allocations: 7.984 kB / 1.048 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2739, allocations: 0 / 1.048 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2739, allocations: 0 / 1.048 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.2746, allocations: 0.6225 MB / 1.048 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2746, allocations: 4 kB / 1.048 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.2747, allocations: 27.92 kB / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2747, allocations: 0 / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2747, allocations: 8 kB / 1.049 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2747, allocations: 3.938 kB / 1.049 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2747, allocations: 8.062 kB / 1.049 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.275, allocations: 294.3 kB / 1.049 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2751, allocations: 128.7 kB / 1.049 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.2752, allocations: 3.984 kB / 1.049 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2754, allocations: 24.05 kB / 1.049 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.2754, allocations: 11.92 kB / 1.049 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2754, allocations: 8 kB / 1.049 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003456/0.2758, allocations: 323.1 kB / 1.049 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2758, allocations: 0 / 1.049 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003765/0.2762, allocations: 107.8 kB / 1.049 GB, free: 9.98 MB / 0.8262 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.0003605/0.2765, allocations: 215.4 kB / 1.05 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.2768, allocations: 134.2 kB / 1.05 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2768, allocations: 0 / 1.05 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.2769, allocations: 67.91 kB / 1.05 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.2777, allocations: 172.2 kB / 1.05 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2788, allocations: 0.6643 MB / 1.051 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2791, allocations: 0.8074 MB / 1.051 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.2793, allocations: 64.5 kB / 1.051 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.2793, allocations: 31.44 kB / 1.051 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2794, allocations: 7.875 kB / 1.051 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.4647/0.744, allocations: 7.144 MB / 1.058 GB, free: 0.7852 MB / 0.8262 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 -s gbode -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