Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00175/0.00175, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002162/0.002162, allocations: 206.9 kB / 22.99 MB, free: 4.977 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.112/3.112, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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_12_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_12_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.002114/0.002114, allocations: 70.92 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3099, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002507/0.3124, allocations: 0.9436 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.315, allocations: 1.595 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3151, allocations: 11.88 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.3152, allocations: 15.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3153, allocations: 27.72 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.316, allocations: 222.5 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.3163, allocations: 303.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3165, allocations: 64.61 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.3168, allocations: 139.6 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.317, allocations: 111.5 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.317, allocations: 32 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3171, allocations: 44 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.3172, allocations: 63.81 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.3173, allocations: 95.69 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.3177, allocations: 318.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.3177, allocations: 8 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3177, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3177, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 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.0008938/0.3186, allocations: 477.8 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3186, allocations: 12.03 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.3188, allocations: 32.78 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.3192, allocations: 214.1 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.3193, allocations: 16.66 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.3193, allocations: 28.36 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3198, allocations: 216.1 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3198, allocations: 8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3198, allocations: 11.98 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3198, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.3203, allocations: 176.6 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009057/0.3212, allocations: 0.4921 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3216, allocations: 146.5 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.3218, allocations: 84.81 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3218, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.3223, allocations: 257.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.3224, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0009911/0.3233, allocations: 427.5 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.3234, allocations: 59.41 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3235, allocations: 155.4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.3236, allocations: 45.7 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3237, allocations: 121 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.3238, allocations: 67.52 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3239, allocations: 81.67 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.324, allocations: 326.8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.3243, allocations: 141.6 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3246, allocations: 173 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.325, allocations: 221.3 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.325, allocations: 8 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006715/0.3257, allocations: 390 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.3257, allocations: 45.62 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3257, allocations: 0 / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3257, allocations: 4 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3259, allocations: 31.92 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3259, allocations: 7.938 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3261, allocations: 47.8 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.3262, allocations: 16 kB / 1.335 GB, free: 9.238 MB / 1.029 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.0001694/0.3263, allocations: 162.3 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.3264, allocations: 19.84 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.3264, allocations: 21.97 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3264, allocations: 4 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3264, allocations: 0 / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3264, allocations: 3.984 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009692/0.3274, allocations: 0.6072 MB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3274, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.3275, allocations: 15.92 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3275, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.3275, allocations: 11.98 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3275, allocations: 4 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3275, allocations: 0 / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.3283, allocations: 448.3 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3283, allocations: 15.91 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.3283, allocations: 16 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3285, allocations: 19.97 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.3286, allocations: 23.95 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.3286, allocations: 19.98 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.3287, allocations: 107.2 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3287, allocations: 0 / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003253/0.329, allocations: 59.94 kB / 1.336 GB, free: 7.637 MB / 1.029 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.0001922/0.3292, allocations: 136.9 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000684/0.3299, allocations: 349.7 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3299, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.3302, allocations: 124 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3305, allocations: 29.64 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.3313, allocations: 399.1 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3314, allocations: 120.5 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.3314, allocations: 23.42 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3314, allocations: 0 / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of Templates: time 0.005249/0.3367, allocations: 2.85 MB / 1.34 GB, free: 3.551 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.900240939110518]