Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 218.2 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 64.42 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 176.1 MB / 1.327 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02257/0.3586, allocations: 14.34 MB / 1.341 GB, free: 3.184 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007893/0.3665, allocations: 4.262 MB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.3674, allocations: 23.75 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.3683, allocations: 194.6 kB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.3705, allocations: 0.5919 MB / 1.346 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3724, allocations: 0.5841 MB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.3742, allocations: 0.9663 MB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.3749, allocations: 256.5 kB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3761, allocations: 478.1 kB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.3768, allocations: 306.6 kB / 1.348 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.09e-05/0.3769, allocations: 24 kB / 1.348 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.3775, allocations: 191.7 kB / 1.348 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3776, allocations: 83.56 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.378, allocations: 179.1 kB / 1.349 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.379, allocations: 0.494 MB / 1.349 GB, free: 10.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.379, allocations: 0 / 1.349 GB, free: 10.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.379, allocations: 0 / 1.349 GB, free: 10.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.379, allocations: 4 kB / 1.349 GB, free: 10.55 MB / 1.045 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.001477/0.3805, allocations: 0.664 MB / 1.35 GB, free: 9.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.3805, allocations: 8.031 kB / 1.35 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.3806, allocations: 8.562 kB / 1.35 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.3806, allocations: 54.73 kB / 1.35 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3808, allocations: 52.66 kB / 1.35 GB, free: 9.727 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.3816, allocations: 343 kB / 1.35 GB, free: 9.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.3816, allocations: 24.38 kB / 1.35 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.3817, allocations: 24 kB / 1.35 GB, free: 9.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.3821, allocations: 191.3 kB / 1.35 GB, free: 9.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3821, allocations: 0 / 1.35 GB, free: 9.129 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.3821, allocations: 8 kB / 1.35 GB, free: 9.121 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3821, allocations: 8 kB / 1.35 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.3824, allocations: 129.7 kB / 1.35 GB, free: 8.984 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3841, allocations: 0.6896 MB / 1.351 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.3845, allocations: 118.6 kB / 1.351 GB, free: 8.129 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.3846, allocations: 44.83 kB / 1.351 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.3848, allocations: 27.98 kB / 1.351 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3848, allocations: 34.56 kB / 1.351 GB, free: 8.012 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3848, allocations: 0 / 1.351 GB, free: 8.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004219/0.3852, allocations: 173.3 kB / 1.352 GB, free: 7.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.3853, allocations: 59.39 kB / 1.352 GB, free: 7.766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.3859, allocations: 445.9 kB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3859, allocations: 37.64 kB / 1.352 GB, free: 7.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3861, allocations: 212.4 kB / 1.352 GB, free: 7.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.3862, allocations: 39.62 kB / 1.352 GB, free: 7.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3863, allocations: 57.66 kB / 1.352 GB, free: 6.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3865, allocations: 350.7 kB / 1.353 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3866, allocations: 51.97 kB / 1.353 GB, free: 6.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3868, allocations: 261.8 kB / 1.353 GB, free: 6.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.387, allocations: 131.3 kB / 1.353 GB, free: 6.121 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.387, allocations: 3.984 kB / 1.353 GB, free: 6.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004022/0.3874, allocations: 217.3 kB / 1.353 GB, free: 5.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3875, allocations: 8 kB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3875, allocations: 0 / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.3875, allocations: 4.062 kB / 1.353 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.3878, allocations: 51.92 kB / 1.353 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3878, allocations: 0 / 1.353 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.3881, allocations: 35.81 kB / 1.353 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3881, allocations: 11.94 kB / 1.353 GB, free: 5.789 MB / 1.045 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.000171/0.3883, allocations: 157.7 kB / 1.354 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3885, allocations: 39.72 kB / 1.354 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.3888, allocations: 201.6 kB / 1.354 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3888, allocations: 3.938 kB / 1.354 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3888, allocations: 0 / 1.354 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3888, allocations: 0 / 1.354 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.3898, allocations: 0.5749 MB / 1.354 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3898, allocations: 96 / 1.354 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3899, allocations: 23.94 kB / 1.354 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.3899, allocations: 12.11 kB / 1.354 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.39, allocations: 4 kB / 1.354 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.39, allocations: 11.88 kB / 1.354 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.39, allocations: 0 / 1.354 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.3904, allocations: 296.4 kB / 1.355 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.3905, allocations: 59.75 kB / 1.355 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.3906, allocations: 0 / 1.355 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3908, allocations: 19.91 kB / 1.355 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3908, allocations: 15.92 kB / 1.355 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3909, allocations: 8 kB / 1.355 GB, free: 4.273 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004534/0.3913, allocations: 323 kB / 1.355 GB, free: 3.957 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3913, allocations: 0 / 1.355 GB, free: 3.957 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005024/0.3918, allocations: 107.8 kB / 1.355 GB, free: 3.852 MB / 1.045 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.001/0.3928, allocations: 0.9205 MB / 1.356 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.3931, allocations: 131.8 kB / 1.356 GB, free: 2.766 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3931, allocations: 4 kB / 1.356 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3933, allocations: 59.91 kB / 1.356 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.3943, allocations: 177.5 kB / 1.356 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.3993, allocations: 3.262 MB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3995, allocations: 203.8 kB / 1.36 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.3998, allocations: 73.78 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.4, allocations: 119.4 kB / 1.36 GB, free: 14.74 MB / 1.061 GB Notification: Performance of SimCode: time 1.092e-06/0.4, allocations: 0 / 1.36 GB, free: 14.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.4397, allocations: 12.02 MB / 1.372 GB, free: 3.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.51, allocations: 4 kB / 1.372 GB, free: 3.094 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.342939925030805]