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.001792/0.001792, allocations: 102.1 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.002423/0.002423, allocations: 220.2 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.109/3.109, allocations: 0.49 GB / 0.7958 GB, free: 33.42 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.002098/0.002098, allocations: 64.81 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3176, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002212/0.3199, allocations: 0.9996 MB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3221, allocations: 1.657 MB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.3222, allocations: 7.938 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.3222, allocations: 15.8 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3224, allocations: 31.72 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.323, allocations: 206.8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3233, allocations: 311.4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3234, allocations: 70.73 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.3237, allocations: 135.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3239, allocations: 127.5 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.324, allocations: 32 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.3241, allocations: 47.98 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.3241, allocations: 59.83 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3242, allocations: 115.6 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.3246, allocations: 318.9 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3246, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3246, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3246, allocations: 4 kB / 1.331 GB, free: 13.34 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.0008718/0.3255, allocations: 471.4 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3255, allocations: 8.031 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.3257, allocations: 36.78 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.3262, allocations: 215.9 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.3262, allocations: 32.52 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.3263, allocations: 20.38 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.3267, allocations: 220.1 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3267, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.3268, allocations: 15.97 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3268, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.3272, allocations: 168.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.3282, allocations: 0.5969 MB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.3286, allocations: 146.5 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3288, allocations: 92.78 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3288, allocations: 4.312 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/0.3293, allocations: 261.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.3293, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001008/0.3303, allocations: 419.5 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3304, allocations: 59.39 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3305, allocations: 147.3 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.3306, allocations: 49.69 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3307, allocations: 124.9 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.3307, allocations: 67.5 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3308, allocations: 77.69 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.331, allocations: 330.8 kB / 1.335 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.3312, allocations: 104 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3315, allocations: 155.2 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.3318, allocations: 221.4 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3318, allocations: 0 / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006317/0.3325, allocations: 364.2 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.3325, allocations: 33.7 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3325, allocations: 3.984 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3326, allocations: 4 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3327, allocations: 39.97 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3327, allocations: 7.938 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.333, allocations: 47.81 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.333, allocations: 15.98 kB / 1.335 GB, free: 8.629 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.0001623/0.3332, allocations: 154.3 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.3332, allocations: 23.83 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.3332, allocations: 25.91 kB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3332, allocations: 4 kB / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3332, allocations: 0 / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3333, allocations: 0 / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.3342, allocations: 0.6651 MB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3342, allocations: 4 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.3343, allocations: 15.98 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3343, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.3344, allocations: 15.97 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3344, allocations: 4 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3344, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.3351, allocations: 436.3 kB / 1.337 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.3351, allocations: 19.91 kB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.3351, allocations: 15.98 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3353, allocations: 19.98 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.3354, allocations: 23.95 kB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3354, allocations: 15.98 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.3355, allocations: 112.8 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3355, allocations: 0 / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003224/0.3358, allocations: 63.94 kB / 1.337 GB, free: 6.953 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.0001911/0.336, allocations: 136.9 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006353/0.3366, allocations: 312.1 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3366, allocations: 0 / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.3369, allocations: 123.9 kB / 1.338 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3372, allocations: 27.91 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/0.338, allocations: 399.1 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3384, allocations: 0.7324 MB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.3384, allocations: 19.44 kB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3384, allocations: 0 / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of Templates: time 0.005489/0.3439, allocations: 2.811 MB / 1.341 GB, free: 2.34 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: 11.125694919988746]