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.001165/0.001165, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001204/0.001204, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9372/0.9372, allocations: 177.2 MB / 203.5 MB, free: 5.445 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.728/1.728, allocations: 377.9 MB / 0.6228 GB, free: 8.676 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: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.841e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01061/0.01064, allocations: 14.25 MB / 0.9961 GB, free: 3.777 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.01454, allocations: 4.279 MB / 1 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.01481, allocations: 27.75 kB / 1 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.01529, allocations: 186.6 kB / 1 GB, free: 15.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009052/0.01619, allocations: 0.6136 MB / 1.001 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.01714, allocations: 0.6042 MB / 1.002 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0008156/0.01795, allocations: 0.9621 MB / 1.003 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.01828, allocations: 264.3 kB / 1.003 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006022/0.01888, allocations: 0.5723 MB / 1.003 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.01912, allocations: 259.2 kB / 1.004 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.01916, allocations: 24 kB / 1.004 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.01944, allocations: 191.5 kB / 1.004 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.01953, allocations: 87.55 kB / 1.004 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.01963, allocations: 131.6 kB / 1.004 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.02012, allocations: 0.4906 MB / 1.005 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.02013, allocations: 0 / 1.005 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.483e-06/0.02013, allocations: 3.938 kB / 1.005 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.02013, allocations: 0 / 1.005 GB, free: 11.08 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.0008009/0.02094, allocations: 0.6602 MB / 1.005 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.02098, allocations: 11.97 kB / 1.005 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.02105, allocations: 52.61 kB / 1.005 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.02152, allocations: 338.4 kB / 1.006 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.02154, allocations: 16.88 kB / 1.006 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.02157, allocations: 24.38 kB / 1.006 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.02182, allocations: 200.2 kB / 1.006 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.02183, allocations: 0 / 1.006 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.02184, allocations: 4 kB / 1.006 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.02185, allocations: 4 kB / 1.006 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.02201, allocations: 133.9 kB / 1.006 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.02288, allocations: 0.632 MB / 1.007 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.02317, allocations: 114.6 kB / 1.007 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.02323, allocations: 44.84 kB / 1.007 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.02333, allocations: 27.97 kB / 1.007 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.02335, allocations: 38.5 kB / 1.007 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.02336, allocations: 4 kB / 1.007 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.000265/0.02362, allocations: 165.4 kB / 1.007 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.02365, allocations: 51.41 kB / 1.007 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.02395, allocations: 389.5 kB / 1.007 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.02396, allocations: 33.7 kB / 1.007 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.0241, allocations: 220.6 kB / 1.008 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.02412, allocations: 43.58 kB / 1.008 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.02418, allocations: 49.7 kB / 1.008 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.02428, allocations: 346.8 kB / 1.008 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.02435, allocations: 47.97 kB / 1.008 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.02454, allocations: 262.4 kB / 1.008 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.02468, allocations: 135.3 kB / 1.008 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02468, allocations: 0 / 1.008 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002331/0.02492, allocations: 213.3 kB / 1.009 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.02493, allocations: 7.938 kB / 1.009 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02494, allocations: 8 kB / 1.009 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.02495, allocations: 3.938 kB / 1.009 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.02507, allocations: 51.91 kB / 1.009 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.02508, allocations: 0 / 1.009 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.02522, allocations: 27.88 kB / 1.009 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.02524, allocations: 8 kB / 1.009 GB, free: 6.539 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.00011/0.02535, allocations: 150.3 kB / 1.009 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.02539, allocations: 43.69 kB / 1.009 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.02563, allocations: 196 kB / 1.009 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.02564, allocations: 4 kB / 1.009 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.02565, allocations: 8 kB / 1.009 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.02565, allocations: 0 / 1.009 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.02613, allocations: 0.5329 MB / 1.01 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02613, allocations: 0 / 1.01 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.02619, allocations: 23.98 kB / 1.01 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.0262, allocations: 4.125 kB / 1.01 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.02621, allocations: 4 kB / 1.01 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.02621, allocations: 4 kB / 1.01 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02621, allocations: 3.938 kB / 1.01 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.0264, allocations: 297.6 kB / 1.01 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.02651, allocations: 51.73 kB / 1.01 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.02653, allocations: 4.219 kB / 1.01 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.02663, allocations: 7.984 kB / 1.01 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.02665, allocations: 19.92 kB / 1.01 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.02667, allocations: 11.92 kB / 1.01 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004503/0.02712, allocations: 271.2 kB / 1.01 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02712, allocations: 0 / 1.01 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002763/0.02739, allocations: 115.6 kB / 1.01 GB, free: 4.723 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.0002936/0.02769, allocations: 205.9 kB / 1.011 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.0279, allocations: 135.8 kB / 1.011 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0279, allocations: 0 / 1.011 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.02797, allocations: 59.91 kB / 1.011 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.02847, allocations: 134.1 kB / 1.011 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/0.02937, allocations: 0.6624 MB / 1.012 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.02949, allocations: 199.1 kB / 1.012 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.02955, allocations: 28.5 kB / 1.012 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/0.02955, allocations: 0 / 1.012 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of Templates: time 0.006561/0.03611, allocations: 6.014 MB / 1.018 GB, free: 13.29 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] 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: 7.390602583065629]