Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001408/0.001408, 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.001603/0.001603, allocations: 210.7 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.757/1.757, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.291/3.291, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [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.002132/0.002132, allocations: 69.22 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4115, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002117/0.4136, allocations: 0.7535 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.4154, allocations: 1.256 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.4154, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.4155, allocations: 15.8 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.4156, allocations: 15.86 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.4163, allocations: 257.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.4166, allocations: 255.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.4167, allocations: 45.27 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4169, allocations: 103.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.417, allocations: 103.7 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.4171, allocations: 27.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.4172, allocations: 32 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.4172, allocations: 35.91 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.4173, allocations: 87.73 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.4176, allocations: 251.1 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4176, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.71 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006648/0.4183, allocations: 426.2 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4183, allocations: 8.031 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.4184, allocations: 20.84 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.419, allocations: 186.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.419, allocations: 20.25 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.4191, allocations: 24.36 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.4193, allocations: 126.2 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4193, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4194, allocations: 3.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4194, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4195, allocations: 67.97 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.4201, allocations: 352 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4202, allocations: 82.53 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.4203, allocations: 32.84 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.4203, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.4206, allocations: 141.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 3.596e-06/0.4206, allocations: 3.984 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004575/0.4211, allocations: 245.4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4211, allocations: 51.41 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4212, allocations: 148.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.4213, allocations: 37.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.4214, allocations: 108.5 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4214, allocations: 35.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4215, allocations: 69.67 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4217, allocations: 322.8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.4219, allocations: 123.4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.4221, allocations: 192.8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.4224, allocations: 216.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4224, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005415/0.4229, allocations: 376.1 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.423, allocations: 71.33 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.423, allocations: 4.188 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.423, allocations: 8 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.291e-05/0.423, allocations: 11.92 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.423, allocations: 4 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.4234, allocations: 59.83 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.4234, allocations: 12 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.000138/0.4235, allocations: 148.7 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.4235, allocations: 15.83 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.4236, allocations: 12.78 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4236, allocations: 3.984 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4236, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.4236, allocations: 7.953 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.4236, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.4237, allocations: 11.98 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.4237, allocations: 7.984 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003247/0.424, allocations: 275.3 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003763/0.4244, allocations: 378.5 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.826e-05/0.4245, allocations: 51.95 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.4246, allocations: 95.27 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.4246, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006956/0.4253, allocations: 360.5 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007222/0.426, allocations: 0.6899 MB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of Templates: time 0.006371/0.4323, allocations: 2.58 MB / 1.338 GB, free: 5.195 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.729426266996597]