Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001339/0.001339, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001507/0.001507, allocations: 211.5 kB / 23 MB, free: 4.934 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [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.002099/0.002099, allocations: 71.97 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4452, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002271/0.4474, allocations: 0.6611 MB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.4492, allocations: 1.097 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.4492, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.4493, allocations: 3.938 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.4493, allocations: 7.922 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.4497, allocations: 43.78 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.4498, allocations: 55.83 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4499, allocations: 11.98 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.45, allocations: 19.92 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.4501, allocations: 27.91 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4501, allocations: 7.938 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.4502, allocations: 16 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.4502, allocations: 19.97 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.4503, allocations: 19.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.4504, allocations: 67.72 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4504, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4504, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4504, allocations: 0 / 1.329 GB, free: 14.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000681/0.4511, allocations: 290.2 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4512, allocations: 8.031 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.758e-05/0.4513, allocations: 12.88 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.4514, allocations: 118.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4514, allocations: 4.375 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4514, allocations: 4.375 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.4516, allocations: 62.22 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4516, allocations: 192 / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4517, allocations: 7.875 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4517, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.4519, allocations: 47.89 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.4523, allocations: 220.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.4525, allocations: 50.55 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.4526, allocations: 36.91 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4526, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.4529, allocations: 79.31 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4529, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004488/0.4533, allocations: 125.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4534, allocations: 51.41 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4535, allocations: 105.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4535, allocations: 33.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.4536, allocations: 84.12 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.4536, allocations: 23.91 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.4537, allocations: 17.72 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4538, allocations: 322.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4539, allocations: 35.91 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.4541, allocations: 52.28 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.4543, allocations: 92.19 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4543, allocations: 192 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002908/0.4546, allocations: 125.4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4546, allocations: 11.94 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4546, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.4547, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.4548, allocations: 15.98 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4548, allocations: 3.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.4549, allocations: 8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4549, allocations: 4.125 kB / 1.331 GB, free: 12.73 MB / 1.029 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.0001185/0.455, allocations: 126.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.455, allocations: 7.891 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4553, allocations: 106.3 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4553, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4553, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.4553, allocations: 7.984 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4554, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.4554, allocations: 16.17 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.4555, allocations: 3.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003439/0.4558, allocations: 196.8 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003503/0.4562, allocations: 270.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001096/0.4563, allocations: 31.97 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.4563, allocations: 79.28 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of Backend: time 3.1e-07/0.4563, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.4568, allocations: 129.3 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006444/0.4575, allocations: 0.5951 MB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of Templates: time 0.004246/0.4617, allocations: 1.102 MB / 1.334 GB, free: 9.992 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.44229109799926]