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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005743/0.005743, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001534/0.001534, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.303/2.303, allocations: 437.1 MB / 0.7106 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01518/0.2521, allocations: 15.41 MB / 1.181 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005285/0.2574, allocations: 4.658 MB / 1.186 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.2576, allocations: 19.88 kB / 1.186 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.258, allocations: 198.5 kB / 1.186 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.259, allocations: 0.5634 MB / 1.187 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2602, allocations: 0.5682 MB / 1.187 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2612, allocations: 0.9626 MB / 1.188 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.2616, allocations: 319.8 kB / 1.188 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.2621, allocations: 406.3 kB / 1.189 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.2625, allocations: 306.6 kB / 1.189 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.2626, allocations: 27.94 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.263, allocations: 219.6 kB / 1.189 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.2631, allocations: 87.61 kB / 1.189 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.2633, allocations: 198.8 kB / 1.19 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.2639, allocations: 0.5135 MB / 1.19 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2639, allocations: 0 / 1.19 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2639, allocations: 0 / 1.19 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2639, allocations: 0 / 1.19 GB, free: 14.78 MB / 0.9512 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.001004/0.2649, allocations: 0.7432 MB / 1.191 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.2649, allocations: 8.031 kB / 1.191 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.265, allocations: 70.59 kB / 1.191 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.2651, allocations: 48.66 kB / 1.191 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.2657, allocations: 418.2 kB / 1.191 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2657, allocations: 24.38 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.2657, allocations: 24 kB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.266, allocations: 191.3 kB / 1.192 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.266, allocations: 0 / 1.192 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2661, allocations: 4 kB / 1.192 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2661, allocations: 12 kB / 1.192 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2663, allocations: 133.6 kB / 1.192 GB, free: 13.02 MB / 0.9512 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.001281/0.2676, allocations: 0.8871 MB / 1.193 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.268, allocations: 110.6 kB / 1.193 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.2681, allocations: 48.83 kB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.2683, allocations: 336.4 kB / 1.193 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2684, allocations: 34.56 kB / 1.193 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.2684, allocations: 0 / 1.193 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003218/0.2687, allocations: 189.2 kB / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.2687, allocations: 51.41 kB / 1.193 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.2693, allocations: 453.9 kB / 1.194 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2693, allocations: 29.7 kB / 1.194 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2695, allocations: 212.4 kB / 1.194 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.2695, allocations: 47.62 kB / 1.194 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.2696, allocations: 57.64 kB / 1.194 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2697, allocations: 350.7 kB / 1.194 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.2698, allocations: 51.97 kB / 1.194 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.27, allocations: 105.1 kB / 1.195 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2702, allocations: 147.2 kB / 1.195 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2702, allocations: 0 / 1.195 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000325/0.2705, allocations: 213.3 kB / 1.195 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2705, allocations: 8 kB / 1.195 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2706, allocations: 0 / 1.195 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2706, allocations: 0 / 1.195 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2708, allocations: 47.91 kB / 1.195 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2708, allocations: 4 kB / 1.195 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.271, allocations: 39.77 kB / 1.195 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2711, allocations: 15.98 kB / 1.195 GB, free: 9.371 MB / 0.9512 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.0001376/0.2712, allocations: 149.8 kB / 1.195 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.2713, allocations: 43.72 kB / 1.195 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.2716, allocations: 203.7 kB / 1.195 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2716, allocations: 0 / 1.195 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2716, allocations: 4 kB / 1.195 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2716, allocations: 0 / 1.195 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.2723, allocations: 0.6187 MB / 1.196 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2723, allocations: 0 / 1.196 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.2724, allocations: 24 kB / 1.196 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2725, allocations: 8 kB / 1.196 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2725, allocations: 8.109 kB / 1.196 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.2725, allocations: 7.938 kB / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2725, allocations: 0 / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.2728, allocations: 302.3 kB / 1.196 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2729, allocations: 140.8 kB / 1.196 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.273, allocations: 4.281 kB / 1.196 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2732, allocations: 15.92 kB / 1.196 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.2732, allocations: 11.98 kB / 1.196 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2732, allocations: 7.938 kB / 1.196 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003764/0.2736, allocations: 327.1 kB / 1.197 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2736, allocations: 0 / 1.197 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003517/0.274, allocations: 107.8 kB / 1.197 GB, free: 7.301 MB / 0.9512 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.0008386/0.2748, allocations: 0.9497 MB / 1.198 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.2751, allocations: 135.8 kB / 1.198 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2751, allocations: 0 / 1.198 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.2752, allocations: 67.84 kB / 1.198 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.276, allocations: 179.1 kB / 1.198 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.2799, allocations: 3.273 MB / 1.201 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2803, allocations: 0.8152 MB / 1.202 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.2805, allocations: 70.38 kB / 1.202 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2807, allocations: 123.4 kB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.2807, allocations: 0 / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.071/6.352, allocations: 11.2 MB / 1.213 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/20.03, allocations: 11.7 kB / 1.213 GB, free: 6.637 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > 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