Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.001419/0.001419, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001584/0.001584, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.953/2.953, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [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.002/0.002, allocations: 63.17 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2847, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002164/0.2869, allocations: 0.9987 MB / 1.355 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2889, allocations: 1.646 MB / 1.357 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.289, allocations: 7.938 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.2891, allocations: 19.8 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.153e-05/0.2892, allocations: 23.73 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.2897, allocations: 222.6 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.2901, allocations: 303.5 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2902, allocations: 58.75 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.2905, allocations: 147.5 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2906, allocations: 123.6 kB / 1.358 GB, free: 4.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.2907, allocations: 32 kB / 1.358 GB, free: 4.418 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.2908, allocations: 43.98 kB / 1.358 GB, free: 4.375 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.2908, allocations: 67.81 kB / 1.358 GB, free: 4.309 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2909, allocations: 111.6 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.2913, allocations: 322.9 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2913, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2913, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2913, allocations: 0 / 1.358 GB, free: 3.883 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008016/0.2921, allocations: 481.6 kB / 1.359 GB, free: 3.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2921, allocations: 8.031 kB / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2923, allocations: 32.83 kB / 1.359 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2927, allocations: 206.2 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.2927, allocations: 20.66 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.2927, allocations: 24.36 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.2932, allocations: 232 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2932, allocations: 0 / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.2932, allocations: 19.95 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2932, allocations: 4 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.2936, allocations: 176.6 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.2945, allocations: 0.5892 MB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.2949, allocations: 150.4 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.2951, allocations: 84.8 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2951, allocations: 8 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/0.2956, allocations: 262 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 1.532e-06/0.2956, allocations: 0 / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.0008937/0.2965, allocations: 423.5 kB / 1.361 GB, free: 1.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.2965, allocations: 63.39 kB / 1.361 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2966, allocations: 147.8 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.2967, allocations: 49.69 kB / 1.361 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.2968, allocations: 117 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.2969, allocations: 75.45 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.297, allocations: 77.69 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2971, allocations: 330.8 kB / 1.362 GB, free: 188 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2973, allocations: 107.9 kB / 1.362 GB, free: 80 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2976, allocations: 146.6 kB / 1.362 GB, free: 15.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.2979, allocations: 221.4 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2979, allocations: 0 / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005839/0.2985, allocations: 360.4 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.2985, allocations: 33.7 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2985, allocations: 0 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2985, allocations: 4 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2987, allocations: 39.84 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.2987, allocations: 4 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.2989, allocations: 51.88 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2989, allocations: 15.98 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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.0001512/0.2991, allocations: 154.4 kB / 1.363 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.2991, allocations: 27.83 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.2992, allocations: 17.97 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2992, allocations: 8 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2992, allocations: 0 / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2992, allocations: 0 / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.3001, allocations: 0.6651 MB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3001, allocations: 4 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.3002, allocations: 23.86 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3002, allocations: 4 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3002, allocations: 7.984 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3002, allocations: 4 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3002, allocations: 3.984 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/0.3009, allocations: 428.3 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.3009, allocations: 15.91 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.3009, allocations: 24 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3011, allocations: 15.97 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.3011, allocations: 27.95 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3012, allocations: 15.98 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.3012, allocations: 107.2 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3012, allocations: 0 / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002966/0.3015, allocations: 63.89 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000199/0.3017, allocations: 136.9 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005772/0.3023, allocations: 308.1 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3023, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.3026, allocations: 127.8 kB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3029, allocations: 32.03 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.3036, allocations: 395.1 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3039, allocations: 0.7245 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.3039, allocations: 31.44 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3039, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of Templates: time 0.004622/0.3086, allocations: 2.821 MB / 1.368 GB, free: 8.871 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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: 9.984629931015661]