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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.006419/0.006419, allocations: 102.1 kB / 15.73 MB, free: 6 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.001706/0.001706, allocations: 186 kB / 16.67 MB, free: 5.926 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.422/2.422, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 69.2 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2592, allocations: 162.3 MB / 1.242 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01486/0.2741, allocations: 15.34 MB / 1.257 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005171/0.2792, allocations: 4.642 MB / 1.261 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.2794, allocations: 11.94 kB / 1.261 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.2799, allocations: 182.6 kB / 1.262 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009775/0.2809, allocations: 0.5595 MB / 1.262 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.282, allocations: 0.5688 MB / 1.263 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.283, allocations: 0.9509 MB / 1.264 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.2834, allocations: 319.8 kB / 1.264 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.284, allocations: 446.1 kB / 1.264 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.2843, allocations: 290.7 kB / 1.265 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2844, allocations: 24 kB / 1.265 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.2848, allocations: 223.6 kB / 1.265 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.2849, allocations: 79.62 kB / 1.265 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2851, allocations: 198.9 kB / 1.265 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.2857, allocations: 0.4979 MB / 1.266 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.2857, allocations: 3.984 kB / 1.266 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2857, allocations: 3.938 kB / 1.266 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2857, allocations: 0 / 1.266 GB, free: 0.5078 MB / 0.9825 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.0009973/0.2867, allocations: 0.7315 MB / 1.266 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2867, allocations: 12.03 kB / 1.266 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.2868, allocations: 66.66 kB / 1.266 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.2869, allocations: 48.66 kB / 1.266 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.2874, allocations: 406.4 kB / 1.267 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2875, allocations: 24.38 kB / 1.267 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.2875, allocations: 27.94 kB / 1.267 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.2878, allocations: 195.3 kB / 1.267 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2878, allocations: 0 / 1.267 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.2878, allocations: 12 kB / 1.267 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2879, allocations: 4 kB / 1.267 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2881, allocations: 133.7 kB / 1.267 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2893, allocations: 0.8715 MB / 1.268 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.2898, allocations: 118.6 kB / 1.268 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.2898, allocations: 56.77 kB / 1.268 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.2901, allocations: 332.4 kB / 1.269 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2901, allocations: 34.55 kB / 1.269 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.2901, allocations: 0 / 1.269 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003157/0.2905, allocations: 177.3 kB / 1.269 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2905, allocations: 55.41 kB / 1.269 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.291, allocations: 445.9 kB / 1.269 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.291, allocations: 29.7 kB / 1.269 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2912, allocations: 224.3 kB / 1.269 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.2912, allocations: 43.58 kB / 1.269 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.2913, allocations: 53.69 kB / 1.27 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2915, allocations: 354.7 kB / 1.27 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.2916, allocations: 43.98 kB / 1.27 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2917, allocations: 111.2 kB / 1.27 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2919, allocations: 139.3 kB / 1.27 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2919, allocations: 0 / 1.27 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003423/0.2923, allocations: 221.2 kB / 1.27 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2923, allocations: 4 kB / 1.27 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2923, allocations: 0 / 1.27 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2923, allocations: 8 kB / 1.27 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2925, allocations: 39.92 kB / 1.27 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2925, allocations: 7.984 kB / 1.27 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2928, allocations: 35.77 kB / 1.27 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.2928, allocations: 12 kB / 1.27 GB, free: 11.14 MB / 0.9981 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.0001348/0.2929, allocations: 153.7 kB / 1.271 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.293, allocations: 39.77 kB / 1.271 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.2933, allocations: 203.8 kB / 1.271 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2933, allocations: 0 / 1.271 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2933, allocations: 4.031 kB / 1.271 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2934, allocations: 3.984 kB / 1.271 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.294, allocations: 0.6265 MB / 1.271 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2941, allocations: 0 / 1.271 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.2942, allocations: 20 kB / 1.271 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2942, allocations: 4.047 kB / 1.272 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.2942, allocations: 12 kB / 1.272 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2942, allocations: 3.938 kB / 1.272 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2942, allocations: 7.938 kB / 1.272 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2945, allocations: 293.1 kB / 1.272 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2946, allocations: 132.8 kB / 1.272 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.2947, allocations: 4.281 kB / 1.272 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.2949, allocations: 15.92 kB / 1.272 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.2949, allocations: 15.92 kB / 1.272 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2949, allocations: 15.94 kB / 1.272 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003482/0.2953, allocations: 315.1 kB / 1.272 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2953, allocations: 0 / 1.272 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003539/0.2956, allocations: 103.8 kB / 1.272 GB, free: 9.066 MB / 0.9981 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.0008217/0.2965, allocations: 0.9389 MB / 1.273 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.2967, allocations: 135.8 kB / 1.273 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2967, allocations: 7.938 kB / 1.273 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.2968, allocations: 59.91 kB / 1.273 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.2977, allocations: 176.6 kB / 1.274 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3015, allocations: 3.258 MB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3019, allocations: 0.8035 MB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.3021, allocations: 70.8 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3022, allocations: 119.4 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3022, allocations: 0 / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.954/3.256, allocations: 11.02 MB / 1.289 GB, free: 8.602 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/13.62, allocations: 13.09 kB / 1.289 GB, free: 8.594 MB / 1.014 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=400 --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