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.002314/0.002314, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002872/0.002872, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.666/1.666, allocations: 230.6 MB / 256 MB, free: 7.969 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.536/3.536, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",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.002049/0.002049, allocations: 67.66 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02143/0.4035, allocations: 15.72 MB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007747/0.4112, allocations: 4.673 MB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.412, allocations: 23.75 kB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008251/0.4128, allocations: 194.6 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.4147, allocations: 0.6025 MB / 1.347 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.4165, allocations: 0.5789 MB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.4182, allocations: 0.9662 MB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.4187, allocations: 260.4 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.4198, allocations: 478.1 kB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.4204, allocations: 302.6 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.4204, allocations: 27.98 kB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005793/0.421, allocations: 227.6 kB / 1.349 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4211, allocations: 83.56 kB / 1.349 GB, free: 9.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.4214, allocations: 206.8 kB / 1.35 GB, free: 9.574 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.4223, allocations: 0.4979 MB / 1.35 GB, free: 9.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4223, allocations: 0 / 1.35 GB, free: 9.074 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4223, allocations: 0 / 1.35 GB, free: 9.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.4223, allocations: 4 kB / 1.35 GB, free: 9.07 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.001352/0.4236, allocations: 0.6678 MB / 1.351 GB, free: 8.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4237, allocations: 15.97 kB / 1.351 GB, free: 8.355 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.835e-05/0.4237, allocations: 54.73 kB / 1.351 GB, free: 8.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.4239, allocations: 52.66 kB / 1.351 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.4247, allocations: 339.2 kB / 1.351 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.4247, allocations: 20.38 kB / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.4247, allocations: 28 kB / 1.351 GB, free: 7.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.4251, allocations: 195.3 kB / 1.351 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4251, allocations: 0 / 1.351 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4251, allocations: 7.938 kB / 1.351 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4251, allocations: 8 kB / 1.351 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.4254, allocations: 129.7 kB / 1.352 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.4271, allocations: 0.8445 MB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.4275, allocations: 110.6 kB / 1.353 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.4276, allocations: 44.84 kB / 1.353 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.4278, allocations: 27.97 kB / 1.353 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.4278, allocations: 38.5 kB / 1.353 GB, free: 6.352 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.4278, allocations: 0 / 1.353 GB, free: 6.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003917/0.4282, allocations: 177.6 kB / 1.353 GB, free: 6.172 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4282, allocations: 55.41 kB / 1.353 GB, free: 6.105 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.4288, allocations: 449.9 kB / 1.353 GB, free: 5.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4288, allocations: 29.7 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.429, allocations: 208.5 kB / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.429, allocations: 47.61 kB / 1.354 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.4291, allocations: 57.64 kB / 1.354 GB, free: 5.312 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4293, allocations: 350.7 kB / 1.354 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4294, allocations: 55.97 kB / 1.354 GB, free: 4.906 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4296, allocations: 106.7 kB / 1.354 GB, free: 4.785 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4298, allocations: 135.3 kB / 1.354 GB, free: 4.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4298, allocations: 4 kB / 1.354 GB, free: 4.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004086/0.4302, allocations: 213.3 kB / 1.354 GB, free: 4.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4302, allocations: 8 kB / 1.354 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4302, allocations: 4 kB / 1.354 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4303, allocations: 0 / 1.354 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.4305, allocations: 47.91 kB / 1.354 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4305, allocations: 0 / 1.354 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.4308, allocations: 35.83 kB / 1.355 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.4309, allocations: 15.92 kB / 1.355 GB, free: 4.312 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.0001957/0.431, allocations: 149.7 kB / 1.355 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.4311, allocations: 55.7 kB / 1.355 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.4315, allocations: 189.1 kB / 1.355 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4315, allocations: 4 kB / 1.355 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4315, allocations: 0 / 1.355 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4315, allocations: 0 / 1.355 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.4325, allocations: 0.602 MB / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.4325, allocations: 0 / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4326, allocations: 24.06 kB / 1.356 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.4326, allocations: 7.984 kB / 1.356 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4326, allocations: 4 kB / 1.356 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4326, allocations: 7.938 kB / 1.356 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4326, allocations: 0 / 1.356 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.433, allocations: 302.7 kB / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4331, allocations: 55.94 kB / 1.356 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.4332, allocations: 4 kB / 1.356 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4334, allocations: 15.92 kB / 1.356 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.4334, allocations: 15.92 kB / 1.356 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4334, allocations: 8 kB / 1.356 GB, free: 2.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004246/0.4339, allocations: 323 kB / 1.356 GB, free: 2.461 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4339, allocations: 0 / 1.356 GB, free: 2.461 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00045/0.4343, allocations: 103.8 kB / 1.356 GB, free: 2.359 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.0009265/0.4352, allocations: 0.9352 MB / 1.357 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.4355, allocations: 125.7 kB / 1.357 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4355, allocations: 4 kB / 1.357 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4356, allocations: 63.84 kB / 1.357 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.4366, allocations: 176.3 kB / 1.358 GB, free: 1.027 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.4414, allocations: 3.263 MB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.4418, allocations: 0.8035 MB / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.4421, allocations: 70.11 kB / 1.362 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.4423, allocations: 123.4 kB / 1.362 GB, free: 12.62 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4423, allocations: 0 / 1.362 GB, free: 12.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04435/0.4866, allocations: 11.25 MB / 1.373 GB, free: 1.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.78, allocations: 2.625 kB / 1.373 GB, free: 1.645 MB / 1.061 GB " [Timeout remaining time 288] (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.23087744694203]