Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_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.001386/0.001386, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.523/2.523, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 61.78 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01442/0.2618, allocations: 15.4 MB / 1.068 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005453/0.2673, allocations: 4.67 MB / 1.073 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.2676, allocations: 15.88 kB / 1.073 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.2681, allocations: 178.6 kB / 1.073 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.2693, allocations: 0.5821 MB / 1.073 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2706, allocations: 0.5591 MB / 1.074 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008995/0.2715, allocations: 0.9509 MB / 1.075 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.2719, allocations: 329.6 kB / 1.075 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.2724, allocations: 398.3 kB / 1.075 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.2728, allocations: 310.6 kB / 1.076 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.2728, allocations: 27.94 kB / 1.076 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.2732, allocations: 211.6 kB / 1.076 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.2734, allocations: 87.61 kB / 1.076 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2735, allocations: 202.8 kB / 1.076 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.2741, allocations: 0.4944 MB / 1.077 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2741, allocations: 0 / 1.077 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2741, allocations: 4 kB / 1.077 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2741, allocations: 0 / 1.077 GB, free: 15.79 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.0009593/0.2751, allocations: 0.7357 MB / 1.077 GB, free: 15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2751, allocations: 12.62 kB / 1.077 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.2752, allocations: 54.72 kB / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.2753, allocations: 52.31 kB / 1.078 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.2757, allocations: 386 kB / 1.078 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2758, allocations: 24.31 kB / 1.078 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.2758, allocations: 31.94 kB / 1.078 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.2761, allocations: 199.2 kB / 1.078 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2761, allocations: 0 / 1.078 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2762, allocations: 12 kB / 1.078 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2762, allocations: 4 kB / 1.078 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.2764, allocations: 129.7 kB / 1.078 GB, free: 14.06 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.001283/0.2777, allocations: 0.8868 MB / 1.079 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.2781, allocations: 114.6 kB / 1.079 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/0.2782, allocations: 52.83 kB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.2784, allocations: 332.4 kB / 1.08 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2785, allocations: 34.56 kB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2785, allocations: 4 kB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0002996/0.2788, allocations: 173.1 kB / 1.08 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.2788, allocations: 51.41 kB / 1.08 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.2793, allocations: 461.8 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2793, allocations: 25.7 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2795, allocations: 220.2 kB / 1.081 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2795, allocations: 35.47 kB / 1.081 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.2796, allocations: 53.69 kB / 1.081 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2797, allocations: 358.7 kB / 1.081 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.2798, allocations: 47.97 kB / 1.081 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2799, allocations: 105.1 kB / 1.081 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2801, allocations: 131.3 kB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2802, allocations: 0 / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003286/0.2805, allocations: 225 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2805, allocations: 4 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2805, allocations: 0 / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2805, allocations: 7.984 kB / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.2807, allocations: 39.92 kB / 1.082 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2808, allocations: 4 kB / 1.082 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.281, allocations: 35.67 kB / 1.082 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2811, allocations: 11.98 kB / 1.082 GB, free: 10.44 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.0001347/0.2812, allocations: 161.7 kB / 1.082 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.2813, allocations: 35.53 kB / 1.082 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.2816, allocations: 190.6 kB / 1.082 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2816, allocations: 4 kB / 1.082 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2816, allocations: 3.938 kB / 1.082 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2816, allocations: 7.922 kB / 1.082 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.2823, allocations: 0.6225 MB / 1.083 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2823, allocations: 4 kB / 1.083 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2824, allocations: 20 kB / 1.083 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2824, allocations: 0 / 1.083 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2825, allocations: 12.08 kB / 1.083 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2825, allocations: 3.938 kB / 1.083 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2825, allocations: 12 kB / 1.083 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2828, allocations: 296.8 kB / 1.083 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.2829, allocations: 136.5 kB / 1.083 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.2829, allocations: 0 / 1.083 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2832, allocations: 20.2 kB / 1.083 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.2832, allocations: 15.92 kB / 1.083 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2832, allocations: 8 kB / 1.083 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003554/0.2836, allocations: 327 kB / 1.083 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2836, allocations: 0 / 1.083 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003826/0.284, allocations: 99.89 kB / 1.083 GB, free: 8.367 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.0008006/0.2848, allocations: 0.9494 MB / 1.084 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.2851, allocations: 143.8 kB / 1.085 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2851, allocations: 4 kB / 1.085 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.2852, allocations: 51.92 kB / 1.085 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.2861, allocations: 185.7 kB / 1.085 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.29, allocations: 3.309 MB / 1.088 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.2903, allocations: 0.8074 MB / 1.089 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000224/0.2906, allocations: 59.44 kB / 1.089 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2907, allocations: 127.4 kB / 1.089 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2907, allocations: 0 / 1.089 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3256, allocations: 11.02 MB / 1.1 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.812, allocations: 8.5 kB / 1.1 GB, free: 7.816 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches