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.001122/0.001122, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00138/0.00138, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.019/1.019, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 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.324/2.324, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.8897 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.275e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002683/0.002715, allocations: 0.9765 MB / 0.8907 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.00503, allocations: 1.63 MB / 0.8923 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.005172, allocations: 7.938 kB / 0.8923 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.005219, allocations: 11.81 kB / 0.8923 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.00536, allocations: 31.72 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.00604, allocations: 215.4 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.006415, allocations: 315.7 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.006583, allocations: 58.86 kB / 0.8929 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.007008, allocations: 187.6 kB / 0.8931 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.007164, allocations: 99.72 kB / 0.8932 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.007209, allocations: 32 kB / 0.8932 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.00731, allocations: 43.98 kB / 0.8932 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.007363, allocations: 55.81 kB / 0.8933 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.611e-05/0.007459, allocations: 91.8 kB / 0.8934 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.00776, allocations: 227.3 kB / 0.8936 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.007764, allocations: 0 / 0.8936 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007765, allocations: 0 / 0.8936 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.007769, allocations: 0 / 0.8936 GB, free: 5.758 MB / 0.8542 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.0007615/0.008531, allocations: 0.5599 MB / 0.8941 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.008577, allocations: 12.03 kB / 0.8942 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.008768, allocations: 44.83 kB / 0.8942 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.009044, allocations: 209.3 kB / 0.8944 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.00908, allocations: 20.66 kB / 0.8944 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.009121, allocations: 28.38 kB / 0.8944 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.00944, allocations: 182.1 kB / 0.8946 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.009449, allocations: 192 / 0.8946 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.009474, allocations: 16.3 kB / 0.8946 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.009484, allocations: 7.938 kB / 0.8946 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.00967, allocations: 104.9 kB / 0.8947 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.01041, allocations: 0.5153 MB / 0.8952 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.0106, allocations: 95 kB / 0.8953 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.01068, allocations: 51.58 kB / 0.8954 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.01071, allocations: 7.938 kB / 0.8954 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.011, allocations: 208.1 kB / 0.8956 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/0.011, allocations: 0 / 0.8956 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0005206/0.01152, allocations: 309.3 kB / 0.8959 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.01157, allocations: 63.34 kB / 0.8959 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01169, allocations: 207.8 kB / 0.8961 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.01174, allocations: 45.69 kB / 0.8962 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.01182, allocations: 167.7 kB / 0.8963 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.01188, allocations: 59.56 kB / 0.8964 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.01201, allocations: 87.28 kB / 0.8965 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01217, allocations: 0.504 MB / 0.897 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.01229, allocations: 85.64 kB / 0.8971 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.01245, allocations: 121 kB / 0.8972 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.01264, allocations: 161.2 kB / 0.8973 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.01265, allocations: 4 kB / 0.8973 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005674/0.01321, allocations: 306.2 kB / 0.8976 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.01325, allocations: 41.69 kB / 0.8977 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01326, allocations: 0 / 0.8977 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01328, allocations: 4.062 kB / 0.8977 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.0134, allocations: 31.92 kB / 0.8977 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01341, allocations: 7.938 kB / 0.8977 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.01353, allocations: 43.86 kB / 0.8977 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01355, allocations: 11.98 kB / 0.8978 GB, free: 1.223 MB / 0.8542 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.0001124/0.01366, allocations: 188.5 kB / 0.8979 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.01369, allocations: 35.89 kB / 0.898 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.01373, allocations: 21.95 kB / 0.898 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01373, allocations: 4 kB / 0.898 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01373, allocations: 7.875 kB / 0.898 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01374, allocations: 0 / 0.898 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.01417, allocations: 0.5534 MB / 0.8985 GB, free: 384 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01418, allocations: 3.938 kB / 0.8985 GB, free: 380 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.01422, allocations: 12 kB / 0.8986 GB, free: 368 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01422, allocations: 3.984 kB / 0.8986 GB, free: 364 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01423, allocations: 11.98 kB / 0.8986 GB, free: 352 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01424, allocations: 4 kB / 0.8986 GB, free: 348 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01424, allocations: 7.938 kB / 0.8986 GB, free: 340 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.01454, allocations: 419.8 kB / 0.899 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.01455, allocations: 11.91 kB / 0.899 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.01459, allocations: 23.98 kB / 0.899 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.01466, allocations: 11.98 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.01471, allocations: 27.7 kB / 0.8991 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.01473, allocations: 19.97 kB / 0.8991 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.01478, allocations: 149.4 kB / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01478, allocations: 4 kB / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002301/0.01501, allocations: 67.88 kB / 0.8993 GB, free: 15.59 MB / 0.8698 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.0001701/0.01518, allocations: 133.2 kB / 0.8994 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.01545, allocations: 257.2 kB / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.01546, allocations: 4 kB / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.01555, allocations: 83.55 kB / 0.8997 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01579, allocations: 36.09 kB / 0.8998 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.01642, allocations: 356.3 kB / 0.9001 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.01646, allocations: 76.33 kB / 0.9002 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.369e-05/0.01651, allocations: 25.95 kB / 0.9002 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.01663, allocations: 110.2 kB / 0.9003 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of SimCode: time 7.21e-07/0.01663, allocations: 0 / 0.9003 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.004883/0.02151, allocations: 3.141 MB / 0.9034 GB, free: 11.35 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.271615711040795]