Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_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.004823/0.004823, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001417/0.001417, allocations: 186.6 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 63.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01499/0.2668, allocations: 15.39 MB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005548/0.2724, allocations: 4.666 MB / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.2726, allocations: 19.88 kB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.2731, allocations: 194.6 kB / 1.24 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.2742, allocations: 0.5672 MB / 1.241 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2753, allocations: 0.5727 MB / 1.241 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.2763, allocations: 0.9742 MB / 1.242 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.2767, allocations: 311.8 kB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.2773, allocations: 414.3 kB / 1.243 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.2777, allocations: 302.6 kB / 1.243 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.2777, allocations: 24 kB / 1.243 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.2781, allocations: 219.6 kB / 1.243 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.2782, allocations: 83.61 kB / 1.243 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.2784, allocations: 198.8 kB / 1.244 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.279, allocations: 0.5135 MB / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.279, allocations: 0 / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.279, allocations: 0 / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2791, allocations: 0 / 1.244 GB, free: 5.816 MB / 0.9981 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.001021/0.2801, allocations: 0.7509 MB / 1.245 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.2801, allocations: 8.031 kB / 1.245 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.2802, allocations: 58.72 kB / 1.245 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.2803, allocations: 52.61 kB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.2808, allocations: 402.4 kB / 1.245 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2809, allocations: 28.31 kB / 1.245 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.2809, allocations: 24 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.2812, allocations: 191.3 kB / 1.245 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2812, allocations: 7.938 kB / 1.245 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2813, allocations: 12 kB / 1.245 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2813, allocations: 4 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.2815, allocations: 133.7 kB / 1.246 GB, free: 4.059 MB / 0.9981 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.001302/0.2828, allocations: 0.8871 MB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.2832, allocations: 110.6 kB / 1.247 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.2833, allocations: 48.84 kB / 1.247 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.2836, allocations: 336.4 kB / 1.247 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2836, allocations: 42.44 kB / 1.247 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.2836, allocations: 0 / 1.247 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003155/0.2839, allocations: 169.4 kB / 1.247 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.284, allocations: 51.41 kB / 1.247 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.2845, allocations: 465.9 kB / 1.248 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2845, allocations: 25.7 kB / 1.248 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2847, allocations: 216.4 kB / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.2847, allocations: 47.61 kB / 1.248 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.2848, allocations: 53.66 kB / 1.248 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.285, allocations: 358.7 kB / 1.248 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.2851, allocations: 43.98 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2852, allocations: 111.5 kB / 1.248 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2854, allocations: 143.2 kB / 1.249 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2854, allocations: 0 / 1.249 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003269/0.2857, allocations: 217.3 kB / 1.249 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2858, allocations: 5.875 kB / 1.249 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2858, allocations: 0 / 1.249 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2858, allocations: 4 kB / 1.249 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.286, allocations: 43.92 kB / 1.249 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.286, allocations: 7.984 kB / 1.249 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.2863, allocations: 31.83 kB / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2863, allocations: 8 kB / 1.249 GB, free: 440 kB / 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.0001489/0.2864, allocations: 165.6 kB / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.2865, allocations: 39.72 kB / 1.249 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.2868, allocations: 204.7 kB / 1.249 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2868, allocations: 0 / 1.249 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2868, allocations: 4 kB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2869, allocations: 0 / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4534/0.7403, allocations: 0.6177 MB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7403, allocations: 3.062 kB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.7405, allocations: 22.42 kB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.7405, allocations: 3.406 kB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.7405, allocations: 3.156 kB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.7405, allocations: 9.719 kB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7405, allocations: 5.438 kB / 1.25 GB, free: 31.65 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.7407, allocations: 294.6 kB / 1.25 GB, free: 31.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.7408, allocations: 138.7 kB / 1.25 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.7409, allocations: 8.234 kB / 1.25 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.7411, allocations: 12.03 kB / 1.25 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.7411, allocations: 12.55 kB / 1.25 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.7412, allocations: 10.22 kB / 1.25 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003377/0.7415, allocations: 325.2 kB / 1.251 GB, free: 31.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7415, allocations: 1.625 kB / 1.251 GB, free: 31.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004011/0.7419, allocations: 105.9 kB / 1.251 GB, free: 31.31 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.0006865/0.7426, allocations: 0.9432 MB / 1.252 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.7429, allocations: 136.3 kB / 1.252 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7429, allocations: 0 / 1.252 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.743, allocations: 57.67 kB / 1.252 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.7438, allocations: 186.1 kB / 1.252 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.7472, allocations: 3.284 MB / 1.255 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.7474, allocations: 0.8062 MB / 1.256 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.7476, allocations: 68.94 kB / 1.256 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.7477, allocations: 126.5 kB / 1.256 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.7477, allocations: 3.609 kB / 1.256 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.896/2.644, allocations: 11.1 MB / 1.267 GB, free: 27.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/14.87, allocations: 11.23 kB / 1.267 GB, free: 27.34 MB / 0.9981 GB (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches