Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001463/0.001463, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.373/2.373, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.78 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2254, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01404/0.2395, allocations: 15.36 MB / 1.067 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.2446, allocations: 4.697 MB / 1.072 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.2448, allocations: 15.88 kB / 1.072 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.2453, allocations: 147.1 kB / 1.072 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009154/0.2462, allocations: 0.521 MB / 1.072 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2472, allocations: 0.5104 MB / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.2483, allocations: 1.239 MB / 1.074 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.2486, allocations: 287.5 kB / 1.074 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.2491, allocations: 378.2 kB / 1.075 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.2494, allocations: 310.6 kB / 1.075 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.2495, allocations: 16 kB / 1.075 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.2498, allocations: 187.6 kB / 1.075 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.2499, allocations: 79.66 kB / 1.075 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2501, allocations: 198.8 kB / 1.076 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2506, allocations: 498.3 kB / 1.076 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2506, allocations: 0 / 1.076 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.92e-07/0.2506, allocations: 4 kB / 1.076 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2506, allocations: 0 / 1.076 GB, free: 15.75 MB / 0.8419 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.0009843/0.2516, allocations: 0.7318 MB / 1.077 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2516, allocations: 8.031 kB / 1.077 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.2517, allocations: 58.72 kB / 1.077 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.2518, allocations: 52.38 kB / 1.077 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.2523, allocations: 394 kB / 1.077 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2523, allocations: 24.38 kB / 1.077 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.2523, allocations: 24 kB / 1.077 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.2526, allocations: 199.2 kB / 1.078 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2526, allocations: 0 / 1.078 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2527, allocations: 8 kB / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2527, allocations: 4 kB / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.2529, allocations: 133.7 kB / 1.078 GB, free: 14.03 MB / 0.8419 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.001229/0.2541, allocations: 0.8751 MB / 1.078 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2545, allocations: 118.6 kB / 1.079 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.2546, allocations: 56.77 kB / 1.079 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.2548, allocations: 336.4 kB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2549, allocations: 38.56 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2549, allocations: 0 / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003119/0.2552, allocations: 173.1 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.2552, allocations: 51.41 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.2557, allocations: 461.8 kB / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2557, allocations: 29.7 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2559, allocations: 212.2 kB / 1.08 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.2559, allocations: 39.45 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.256, allocations: 53.69 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2561, allocations: 354.7 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.2562, allocations: 47.97 kB / 1.08 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2563, allocations: 115.5 kB / 1.08 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2565, allocations: 127.3 kB / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2565, allocations: 0 / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003135/0.2568, allocations: 220.9 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2569, allocations: 8 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2569, allocations: 0 / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2569, allocations: 4 kB / 1.081 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.2571, allocations: 51.91 kB / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2571, allocations: 4 kB / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.2574, allocations: 39.66 kB / 1.081 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.2575, allocations: 12 kB / 1.081 GB, free: 10.39 MB / 0.8419 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.0001246/0.2576, allocations: 153.7 kB / 1.081 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.2577, allocations: 39.53 kB / 1.081 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.258, allocations: 193.9 kB / 1.081 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.258, allocations: 3.984 kB / 1.081 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.258, allocations: 3.938 kB / 1.081 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.258, allocations: 0 / 1.081 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.2587, allocations: 0.634 MB / 1.082 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2587, allocations: 0 / 1.082 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2588, allocations: 23.98 kB / 1.082 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2588, allocations: 4 kB / 1.082 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2588, allocations: 0 / 1.082 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2588, allocations: 7.938 kB / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2588, allocations: 0 / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.2591, allocations: 299.5 kB / 1.082 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2592, allocations: 128.6 kB / 1.082 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.2593, allocations: 7.984 kB / 1.082 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2595, allocations: 31.88 kB / 1.082 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.2595, allocations: 15.98 kB / 1.082 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2595, allocations: 7.938 kB / 1.082 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003414/0.2599, allocations: 323.1 kB / 1.083 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2599, allocations: 4 kB / 1.083 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003632/0.2603, allocations: 95.94 kB / 1.083 GB, free: 8.316 MB / 0.8419 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.0007337/0.261, allocations: 0.9507 MB / 1.084 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.2612, allocations: 127.9 kB / 1.084 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2613, allocations: 0 / 1.084 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.2613, allocations: 67.84 kB / 1.084 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2624, allocations: 194.8 kB / 1.084 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.2664, allocations: 3.427 MB / 1.087 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2667, allocations: 0.8116 MB / 1.088 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.2669, allocations: 67.45 kB / 1.088 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2671, allocations: 127.4 kB / 1.088 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2671, allocations: 0 / 1.088 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.3005, allocations: 10.94 MB / 1.099 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.3008, allocations: 294 kB / 1.099 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.246, allocations: 0 / 1.099 GB, free: 7.387 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches