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.001699/0.001699, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001921/0.001921, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.801 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.47/3.47, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002155/0.002155, allocations: 61.84 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4031, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002497/0.4056, allocations: 0.7416 MB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.4077, allocations: 1.256 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/0.4077, allocations: 4 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.726e-05/0.4078, allocations: 15.75 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.4079, allocations: 27.78 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.4087, allocations: 248.4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.4092, allocations: 255.6 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.4093, allocations: 37.28 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.4095, allocations: 103.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.4097, allocations: 83.67 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.4097, allocations: 32 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.4098, allocations: 39.97 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.4099, allocations: 35.91 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.41, allocations: 87.73 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.4103, allocations: 247.1 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4103, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4103, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4104, allocations: 0 / 1.329 GB, free: 14.67 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.0007929/0.4111, allocations: 421.2 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4112, allocations: 8.031 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.4113, allocations: 28.83 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.4119, allocations: 190.4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4119, allocations: 16.3 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.412, allocations: 20.38 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.4123, allocations: 132.6 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4123, allocations: 3.938 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4123, allocations: 7.984 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4123, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4125, allocations: 71.89 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.4131, allocations: 352.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.4133, allocations: 78.53 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.4134, allocations: 32.84 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4134, allocations: 3.984 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.4137, allocations: 139.3 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.4137, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005114/0.4142, allocations: 239.3 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.4143, allocations: 63.39 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4144, allocations: 143.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.4145, allocations: 33.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.4146, allocations: 108.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4146, allocations: 31.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.4147, allocations: 73.61 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4149, allocations: 322.8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.4151, allocations: 127.4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.4154, allocations: 192.5 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.4157, allocations: 217.1 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4157, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005799/0.4162, allocations: 384.2 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.4163, allocations: 68.75 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4163, allocations: 0 / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.4164, allocations: 4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.4164, allocations: 15.92 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.4164, allocations: 4 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.4167, allocations: 55.83 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.4168, allocations: 24.02 kB / 1.332 GB, free: 10.82 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.000165/0.4169, allocations: 130.3 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.417, allocations: 15.89 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.417, allocations: 12.77 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.417, allocations: 4 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.417, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.417, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.4176, allocations: 428.1 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4176, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.4176, allocations: 4 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.4176, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4176, allocations: 3.984 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4176, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4176, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.418, allocations: 299.3 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.418, allocations: 7.953 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.4181, allocations: 4 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.4181, allocations: 7.984 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.4182, allocations: 11.98 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.4182, allocations: 19.92 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.4183, allocations: 96.89 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4183, allocations: 0 / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003205/0.4186, allocations: 51.89 kB / 1.333 GB, free: 9.672 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.0001852/0.4188, allocations: 107.2 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.4193, allocations: 333.9 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4193, allocations: 4.438 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.4194, allocations: 66.86 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4198, allocations: 31.83 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.4204, allocations: 263.4 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.4205, allocations: 94.78 kB / 1.334 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.437e-05/0.4205, allocations: 17.08 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.4205, allocations: 11.44 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4205, allocations: 0 / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of Templates: time 0.006635/0.4272, allocations: 2.404 MB / 1.336 GB, free: 6.32 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/jenkins/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.668630680069327]