Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 201.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8106, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002213/0.8128, allocations: 0.6864 MB / 1.275 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.8143, allocations: 1.077 MB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.8143, allocations: 0 / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.8144, allocations: 3.938 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.8145, allocations: 7.938 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.8148, allocations: 39.83 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.8149, allocations: 47.91 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.815, allocations: 8 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.8151, allocations: 23.92 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.8151, allocations: 27.91 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.8151, allocations: 7.984 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.8152, allocations: 19.92 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.8152, allocations: 11.94 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.8153, allocations: 19.92 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.8154, allocations: 58.45 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8154, allocations: 0 / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8154, allocations: 0 / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.8154, allocations: 0 / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000707/0.8162, allocations: 381.7 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8162, allocations: 8.031 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.8162, allocations: 4.938 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.8164, allocations: 168.3 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8164, allocations: 4.375 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.8164, allocations: 8.375 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.8167, allocations: 70.16 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8167, allocations: 192 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.8167, allocations: 3.938 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.8167, allocations: 4 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.8169, allocations: 43.95 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.8174, allocations: 272.9 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.8176, allocations: 67.97 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.8177, allocations: 28.95 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.8177, allocations: 0 / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.8179, allocations: 79.33 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.8179, allocations: 3.938 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000439/0.8184, allocations: 125.7 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.8184, allocations: 59.33 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.8185, allocations: 105.8 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.8185, allocations: 29.7 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.8186, allocations: 84.14 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.8186, allocations: 19.8 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.8187, allocations: 29.7 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8188, allocations: 318.8 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.8189, allocations: 23.97 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.819, allocations: 64.27 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.8193, allocations: 96.12 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8193, allocations: 7.938 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002937/0.8196, allocations: 121.8 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8196, allocations: 4 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8196, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8196, allocations: 4 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.8197, allocations: 19.98 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8197, allocations: 3.938 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.8198, allocations: 11.98 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.8198, allocations: 8 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001247/0.8199, allocations: 123.7 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.8199, allocations: 3.953 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.8203, allocations: 106 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8203, allocations: 4 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8203, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8203, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.8208, allocations: 362.5 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8208, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.8208, allocations: 8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8208, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.8208, allocations: 7.984 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8209, allocations: 3.938 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8209, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.8212, allocations: 203.9 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.8212, allocations: 81.05 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.8212, allocations: 192 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.8213, allocations: 15.98 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.8214, allocations: 3.938 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.8214, allocations: 7.938 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.8215, allocations: 87.27 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8215, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002502/0.8217, allocations: 16 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001581/0.8219, allocations: 107.7 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.8222, allocations: 75.81 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8222, allocations: 0 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.8223, allocations: 35.98 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.8226, allocations: 16.23 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.8229, allocations: 153.1 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.8232, allocations: 0.6845 MB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.8233, allocations: 4 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.8233, allocations: 11.44 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8233, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.003635/0.8269, allocations: 0.848 MB / 1.281 GB, free: 12.9 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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: 8.553729237988591]