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.001206/0.001206, 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.001595/0.001595, 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.8532/0.8532, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.635/1.635, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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.243e-06/1.243e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.53e-05, allocations: 5.234 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.009549/0.009564, allocations: 14.24 MB / 0.9949 GB, free: 4.273 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.01314, allocations: 4.281 MB / 0.9991 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.01338, allocations: 23.75 kB / 0.9991 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.01384, allocations: 190.5 kB / 0.9993 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0008926/0.01474, allocations: 0.6021 MB / 0.9998 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.01562, allocations: 0.6108 MB / 1 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.01633, allocations: 0.9647 MB / 1.001 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.01662, allocations: 268.2 kB / 1.002 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.01716, allocations: 0.5762 MB / 1.002 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.01739, allocations: 255.2 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.01742, allocations: 24 kB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.01767, allocations: 187.5 kB / 1.003 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.01775, allocations: 87.53 kB / 1.003 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.01784, allocations: 131.6 kB / 1.003 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.01829, allocations: 0.4945 MB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.0183, allocations: 3.938 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/0.0183, allocations: 4 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.0183, allocations: 0 / 1.003 GB, free: 11.57 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.0007315/0.01903, allocations: 0.6484 MB / 1.004 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.01907, allocations: 12.03 kB / 1.004 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.01911, allocations: 54.73 kB / 1.004 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.01917, allocations: 56.61 kB / 1.004 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.01958, allocations: 338.4 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.01959, allocations: 16.88 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.01962, allocations: 28.31 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01984, allocations: 200 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.01985, allocations: 0 / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.01987, allocations: 4 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.01987, allocations: 4 kB / 1.005 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.02003, allocations: 133.9 kB / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.02097, allocations: 0.6783 MB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.02126, allocations: 118.5 kB / 1.006 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.02131, allocations: 52.75 kB / 1.006 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/0.02141, allocations: 31.98 kB / 1.006 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.02143, allocations: 30.56 kB / 1.006 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.02143, allocations: 0 / 1.006 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0002462/0.02167, allocations: 173.3 kB / 1.006 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.0217, allocations: 51.41 kB / 1.006 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.02201, allocations: 445.9 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.02203, allocations: 29.64 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.02214, allocations: 224.4 kB / 1.007 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.02216, allocations: 39.64 kB / 1.007 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.02221, allocations: 53.64 kB / 1.007 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.02231, allocations: 350.8 kB / 1.007 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.02237, allocations: 47.97 kB / 1.007 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.02252, allocations: 265.4 kB / 1.007 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.02265, allocations: 131.3 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02265, allocations: 0 / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000225/0.02288, allocations: 225.2 kB / 1.008 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.02289, allocations: 4 kB / 1.008 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.02289, allocations: 4 kB / 1.008 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.0229, allocations: 4 kB / 1.008 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.02302, allocations: 47.92 kB / 1.008 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.02302, allocations: 0 / 1.008 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.02316, allocations: 43.81 kB / 1.008 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.02318, allocations: 8 kB / 1.008 GB, free: 6.82 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.000102/0.02328, allocations: 153.8 kB / 1.008 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.02332, allocations: 43.66 kB / 1.008 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.02354, allocations: 195.6 kB / 1.008 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02354, allocations: 0 / 1.008 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.02355, allocations: 3.984 kB / 1.008 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.02355, allocations: 0 / 1.008 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.02402, allocations: 0.5747 MB / 1.009 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.02403, allocations: 0 / 1.009 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.02408, allocations: 23.98 kB / 1.009 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02409, allocations: 4 kB / 1.009 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.0241, allocations: 4.125 kB / 1.009 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.0241, allocations: 8 kB / 1.009 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.0241, allocations: 7.922 kB / 1.009 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.02429, allocations: 290.9 kB / 1.009 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.02436, allocations: 59.62 kB / 1.009 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.02438, allocations: 0 / 1.009 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.02449, allocations: 19.92 kB / 1.009 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.02451, allocations: 15.86 kB / 1.009 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.02451, allocations: 4 kB / 1.009 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002187/0.02473, allocations: 315.1 kB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02473, allocations: 0 / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002636/0.025, allocations: 103.8 kB / 1.009 GB, free: 4.918 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.0005223/0.02552, allocations: 0.9349 MB / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.02571, allocations: 135.8 kB / 1.011 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02571, allocations: 0 / 1.011 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.02577, allocations: 63.91 kB / 1.011 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.02632, allocations: 174.8 kB / 1.011 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.02895, allocations: 3.233 MB / 1.014 GB, free: 232 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.02907, allocations: 215.6 kB / 1.014 GB, free: 16 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000141/0.02921, allocations: 62.52 kB / 1.014 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.02933, allocations: 124.5 kB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.02933, allocations: 0 / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.05544, allocations: 12.51 MB / 1.027 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.034, allocations: 1.5 kB / 1.027 GB, free: 3.699 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable y1 in file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.92951633501798]