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.0009265/0.0009265, allocations: 76.55 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.001113/0.001113, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9028/0.9028, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.727/1.727, allocations: 377.8 MB / 0.6228 GB, free: 8.668 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.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: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.626e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001586/0.001623, allocations: 0.9448 MB / 0.9831 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.003344, allocations: 1.599 MB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003446, allocations: 7.938 kB / 0.9847 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.003491, allocations: 15.81 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.003592, allocations: 27.72 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.004154, allocations: 225.8 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.004419, allocations: 307.3 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.004565, allocations: 54.92 kB / 0.9853 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.004874, allocations: 199.6 kB / 0.9855 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.004993, allocations: 95.72 kB / 0.9856 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.005029, allocations: 36 kB / 0.9856 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.005099, allocations: 47.98 kB / 0.9856 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.00514, allocations: 55.81 kB / 0.9857 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.005222, allocations: 87.84 kB / 0.9858 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.005523, allocations: 362.9 kB / 0.9861 GB, free: 14.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.005526, allocations: 0 / 0.9861 GB, free: 14.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005528, allocations: 0 / 0.9861 GB, free: 14.08 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005532, allocations: 4 kB / 0.9861 GB, free: 14.08 MB / 0.948 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.0006918/0.006224, allocations: 475.5 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.006263, allocations: 8.031 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.006436, allocations: 36.81 kB / 0.9866 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.006747, allocations: 195.5 kB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.006784, allocations: 24.64 kB / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.006816, allocations: 24.38 kB / 0.9869 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.007158, allocations: 220.9 kB / 0.9871 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.007169, allocations: 4.188 kB / 0.9871 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.007193, allocations: 16.34 kB / 0.9871 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.007201, allocations: 7.938 kB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.007455, allocations: 165.2 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.008102, allocations: 0.4883 MB / 0.9877 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.008368, allocations: 154.4 kB / 0.9879 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.008505, allocations: 88.8 kB / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.008532, allocations: 8.25 kB / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.008965, allocations: 253 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/0.008968, allocations: 4 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=27): time 0.0006385/0.009607, allocations: 435.3 kB / 0.9886 GB, free: 11.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.009647, allocations: 55.41 kB / 0.9887 GB, free: 11.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.009744, allocations: 149.8 kB / 0.9888 GB, free: 11.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.00978, allocations: 49.69 kB / 0.9889 GB, free: 11.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.009845, allocations: 113 kB / 0.989 GB, free: 11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.009892, allocations: 67.47 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.009979, allocations: 89.67 kB / 0.9891 GB, free: 10.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.01006, allocations: 326.8 kB / 0.9894 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.01023, allocations: 133.6 kB / 0.9896 GB, free: 10.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.0104, allocations: 173.2 kB / 0.9897 GB, free: 10.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.01064, allocations: 229.2 kB / 0.9899 GB, free: 9.945 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01065, allocations: 0 / 0.9899 GB, free: 9.945 MB / 0.948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004084/0.01106, allocations: 390 kB / 0.9903 GB, free: 9.547 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.01109, allocations: 36.81 kB / 0.9904 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.0111, allocations: 0 / 0.9904 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01112, allocations: 7.938 kB / 0.9904 GB, free: 9.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01122, allocations: 35.92 kB / 0.9904 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01122, allocations: 0 / 0.9904 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01134, allocations: 51.8 kB / 0.9904 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.01137, allocations: 16 kB / 0.9905 GB, free: 9.398 MB / 0.948 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.0001194/0.01149, allocations: 161.8 kB / 0.9906 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.01151, allocations: 19.84 kB / 0.9906 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.01155, allocations: 25.95 kB / 0.9907 GB, free: 9.188 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01155, allocations: 3.938 kB / 0.9907 GB, free: 9.184 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01156, allocations: 0 / 0.9907 GB, free: 9.184 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01156, allocations: 0 / 0.9907 GB, free: 9.184 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.01214, allocations: 0.6121 MB / 0.9913 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01215, allocations: 0 / 0.9913 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.01218, allocations: 12 kB / 0.9913 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01219, allocations: 4 kB / 0.9913 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.0122, allocations: 15.91 kB / 0.9913 GB, free: 8.504 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01221, allocations: 0 / 0.9913 GB, free: 8.504 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01221, allocations: 0 / 0.9913 GB, free: 8.504 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.01261, allocations: 443.2 kB / 0.9917 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.01262, allocations: 15.84 kB / 0.9917 GB, free: 8.039 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.01266, allocations: 27.92 kB / 0.9918 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.01273, allocations: 19.92 kB / 0.9918 GB, free: 7.992 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.01279, allocations: 27.95 kB / 0.9918 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.01282, allocations: 23.97 kB / 0.9918 GB, free: 7.941 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.01287, allocations: 105.6 kB / 0.9919 GB, free: 7.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01287, allocations: 0 / 0.9919 GB, free: 7.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002083/0.01308, allocations: 67.94 kB / 0.992 GB, free: 7.773 MB / 0.948 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.0001689/0.01325, allocations: 141.7 kB / 0.9921 GB, free: 7.625 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.01365, allocations: 337.8 kB / 0.9924 GB, free: 7.277 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01365, allocations: 0 / 0.9924 GB, free: 7.277 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.01381, allocations: 119.9 kB / 0.9926 GB, free: 7.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.01404, allocations: 32.05 kB / 0.9926 GB, free: 7.129 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.01458, allocations: 397.4 kB / 0.993 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.01465, allocations: 112.6 kB / 0.9931 GB, free: 6.578 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.0147, allocations: 28.48 kB / 0.9931 GB, free: 6.551 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.0147, allocations: 0 / 0.9931 GB, free: 6.551 MB / 0.948 GB Notification: Performance of Templates: time 0.00339/0.01809, allocations: 2.844 MB / 0.9959 GB, free: 3.715 MB / 0.948 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/jenkins/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: 6.523932605981827]