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.0007668/0.0007668, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008314/0.0008314, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8562/0.8562, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.963e-05, allocations: 2.281 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01094/0.01096, allocations: 14.25 MB / 0.9949 GB, free: 4.301 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004121/0.01508, allocations: 4.276 MB / 0.9991 GB, free: 20 kB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.0155, allocations: 27.86 kB / 0.9991 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.01605, allocations: 194.4 kB / 0.9993 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01721, allocations: 0.5995 MB / 0.9998 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.01833, allocations: 0.6123 MB / 1 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.01944, allocations: 0.9659 MB / 1.001 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.01988, allocations: 260.3 kB / 1.002 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.02068, allocations: 0.5878 MB / 1.002 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.02099, allocations: 251.2 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.02104, allocations: 24 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.02145, allocations: 187.5 kB / 1.003 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.02155, allocations: 91.53 kB / 1.003 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.02166, allocations: 127.6 kB / 1.003 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.02224, allocations: 0.4945 MB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.02224, allocations: 4 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.683e-06/0.02224, allocations: 3.938 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.02225, allocations: 0 / 1.003 GB, free: 11.6 MB / 0.9636 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.0007945/0.02305, allocations: 0.6484 MB / 1.004 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.02308, allocations: 8.031 kB / 1.004 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.02313, allocations: 58.73 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.02321, allocations: 52.61 kB / 1.004 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.02374, allocations: 330.4 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.02376, allocations: 24.88 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.02379, allocations: 24.38 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.02404, allocations: 200 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.02405, allocations: 4 kB / 1.005 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.02406, allocations: 8 kB / 1.005 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.02407, allocations: 4 kB / 1.005 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.02423, allocations: 133.9 kB / 1.005 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.02516, allocations: 0.6822 MB / 1.005 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.02546, allocations: 106.5 kB / 1.006 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.02551, allocations: 56.77 kB / 1.006 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-05/0.02561, allocations: 23.98 kB / 1.006 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.02563, allocations: 42.55 kB / 1.006 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.02563, allocations: 0 / 1.006 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0002692/0.0259, allocations: 169.4 kB / 1.006 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.02593, allocations: 51.41 kB / 1.006 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.02627, allocations: 441.9 kB / 1.006 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.02628, allocations: 29.7 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.02639, allocations: 216.4 kB / 1.007 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.02642, allocations: 43.64 kB / 1.007 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.02647, allocations: 57.69 kB / 1.007 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.02657, allocations: 350.7 kB / 1.007 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.02663, allocations: 51.97 kB / 1.007 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.02679, allocations: 257.6 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.02693, allocations: 139.3 kB / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02694, allocations: 0 / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002381/0.02718, allocations: 225.2 kB / 1.008 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.02719, allocations: 4 kB / 1.008 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.0272, allocations: 0 / 1.008 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.02721, allocations: 4 kB / 1.008 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.02733, allocations: 55.97 kB / 1.008 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.02734, allocations: 0 / 1.008 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.02748, allocations: 35.77 kB / 1.008 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.0275, allocations: 12 kB / 1.008 GB, free: 6.852 MB / 0.9636 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.0002557/0.02776, allocations: 145.8 kB / 1.008 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.0278, allocations: 51.66 kB / 1.008 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.02806, allocations: 196.2 kB / 1.008 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.02806, allocations: 4 kB / 1.008 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.02807, allocations: 0 / 1.008 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.02807, allocations: 0 / 1.008 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.02858, allocations: 0.5786 MB / 1.009 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.02859, allocations: 0 / 1.009 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.02865, allocations: 23.98 kB / 1.009 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.02865, allocations: 0 / 1.009 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.02866, allocations: 4 kB / 1.009 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02866, allocations: 4 kB / 1.009 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02866, allocations: 4.125 kB / 1.009 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.02885, allocations: 302.8 kB / 1.009 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.02892, allocations: 55.62 kB / 1.009 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.02895, allocations: 4 kB / 1.009 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.02905, allocations: 15.92 kB / 1.009 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.02907, allocations: 19.86 kB / 1.009 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.02908, allocations: 4 kB / 1.009 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002177/0.0293, allocations: 307.1 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.01e-07/0.0293, allocations: 0 / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002951/0.0296, allocations: 107.8 kB / 1.009 GB, free: 4.949 MB / 0.9636 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.000574/0.03017, allocations: 0.9405 MB / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.03038, allocations: 131.8 kB / 1.011 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03038, allocations: 0 / 1.011 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.03045, allocations: 55.91 kB / 1.011 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.03102, allocations: 186.8 kB / 1.011 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.0338, allocations: 3.221 MB / 1.014 GB, free: 272 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.03393, allocations: 215.6 kB / 1.014 GB, free: 36 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.03411, allocations: 66.67 kB / 1.014 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.03422, allocations: 124.5 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of SimCode: time 5.81e-07/0.03423, allocations: 0 / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.05808, allocations: 12.51 MB / 1.027 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/6.977, allocations: 8.797 kB / 1.027 GB, free: 3.727 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.861104332841933]