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.00132/0.00132, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001451/0.001451, allocations: 217 kB / 23.01 MB, free: 4.57 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.167/3.167, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002599/0.002599, allocations: 70.06 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3099, allocations: 176.1 MB / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001989/0.3119, allocations: 0.775 MB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3136, allocations: 1.291 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.3137, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.3137, allocations: 7.875 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.3138, allocations: 23.78 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.3145, allocations: 253.5 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.3148, allocations: 255.6 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3149, allocations: 37.3 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.315, allocations: 103.7 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3152, allocations: 107.7 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.3153, allocations: 24 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.3153, allocations: 39.98 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.3154, allocations: 35.91 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3155, allocations: 95.67 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.3158, allocations: 247.1 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3158, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3158, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3159, allocations: 7.875 kB / 1.33 GB, free: 14.11 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.0006567/0.3165, allocations: 425.2 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3165, allocations: 8.031 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.3166, allocations: 24.83 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.3171, allocations: 182.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3172, allocations: 16.31 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.3172, allocations: 24.38 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.3174, allocations: 128.1 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3174, allocations: 7.922 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3175, allocations: 12 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3175, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3176, allocations: 67.95 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.3182, allocations: 423.4 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3184, allocations: 82.47 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.3184, allocations: 36.84 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.3184, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.3187, allocations: 127.2 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.3187, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004458/0.3191, allocations: 251.5 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3192, allocations: 55.41 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3193, allocations: 145.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.3194, allocations: 33.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.3195, allocations: 108.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.3195, allocations: 31.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3196, allocations: 69.67 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3198, allocations: 326.8 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3199, allocations: 63.97 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3201, allocations: 124.5 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.3204, allocations: 221.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3204, allocations: 3.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000528/0.3209, allocations: 328.6 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.321, allocations: 59.41 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.321, allocations: 0 / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.321, allocations: 4 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.676e-05/0.321, allocations: 7.984 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.321, allocations: 7.938 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.3213, allocations: 64.08 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.3214, allocations: 19.98 kB / 1.334 GB, free: 10.4 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.0001451/0.3215, allocations: 130.4 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.3215, allocations: 11.89 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.3216, allocations: 16.77 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3216, allocations: 3.938 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3216, allocations: 4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3216, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.3221, allocations: 465.4 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3221, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.3221, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3221, allocations: 4 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3221, allocations: 0 / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3221, allocations: 7.922 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3221, allocations: 4 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.3225, allocations: 297.9 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.3225, allocations: 7.953 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3225, allocations: 0 / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.3226, allocations: 15.98 kB / 1.335 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3226, allocations: 7.984 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3226, allocations: 15.98 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.3227, allocations: 97.14 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3227, allocations: 0 / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003092/0.323, allocations: 51.89 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001503/0.3232, allocations: 115.1 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.3236, allocations: 262.7 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3236, allocations: 0 / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3237, allocations: 63.84 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.324, allocations: 24.75 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.3245, allocations: 297.1 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3248, allocations: 0.7123 MB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.3248, allocations: 15.44 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3248, allocations: 4 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of Templates: time 0.00395/0.3288, allocations: 1.983 MB / 1.338 GB, free: 5.672 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] "" Variables in the reference: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 Variables in the result:falCleFalIni.clr,falCleFalIni.u,falCleFalIni.y,falCleTruIni.clr,falCleTruIni.u,falCleTruIni.y,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 11.18633045599563]