Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001703/0.001703, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001549/0.001549, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002123/0.002123, allocations: 68.23 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 169.9 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002145/0.3245, allocations: 0.7545 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3264, allocations: 1.258 MB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.3265, allocations: 0 / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.593e-05/0.3265, allocations: 11.86 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.3266, allocations: 23.78 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.3273, allocations: 257.8 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.3276, allocations: 251.6 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3278, allocations: 37.3 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3279, allocations: 107.7 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3281, allocations: 95.59 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3282, allocations: 24 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3283, allocations: 40 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.3283, allocations: 35.89 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3284, allocations: 87.73 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3287, allocations: 243.1 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3287, allocations: 0 / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3287, allocations: 4 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3288, allocations: 0 / 1.287 GB, free: 8.762 MB / 0.9825 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.0007088/0.3295, allocations: 429.1 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3295, allocations: 12.03 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.3296, allocations: 20.84 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.3301, allocations: 182.5 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3302, allocations: 20.3 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3302, allocations: 20.38 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.3305, allocations: 131.2 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3305, allocations: 3.938 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3305, allocations: 4 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3305, allocations: 4 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3306, allocations: 67.95 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.3312, allocations: 352 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3314, allocations: 86.47 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.3314, allocations: 36.78 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.3314, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.3317, allocations: 131.2 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.3317, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004737/0.3322, allocations: 251.6 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3322, allocations: 55.39 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3324, allocations: 147 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.3324, allocations: 29.7 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3325, allocations: 116.6 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.3326, allocations: 27.81 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3327, allocations: 69.67 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3329, allocations: 322.8 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3331, allocations: 123.4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.3333, allocations: 192.8 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3336, allocations: 215 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3336, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005676/0.3342, allocations: 388 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.3342, allocations: 67.59 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3342, allocations: 3.938 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3343, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.003e-05/0.3343, allocations: 7.984 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3343, allocations: 4 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.3346, allocations: 59.83 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.3347, allocations: 19.98 kB / 1.29 GB, free: 4.922 MB / 0.9825 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.0001331/0.3348, allocations: 139.5 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.3348, allocations: 11.89 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.3349, allocations: 16.77 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3349, allocations: 0 / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3349, allocations: 7.875 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3349, allocations: 0 / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.3353, allocations: 425.3 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3353, allocations: 0 / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.3354, allocations: 8 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3354, allocations: 4 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3354, allocations: 0 / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3354, allocations: 4 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3354, allocations: 3.984 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.3357, allocations: 299.2 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3357, allocations: 11.94 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3358, allocations: 4 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.3358, allocations: 7.984 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3359, allocations: 7.984 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.3359, allocations: 15.98 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.336, allocations: 96.64 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 4 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003097/0.3363, allocations: 51.89 kB / 1.291 GB, free: 3.77 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: 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.0001604/0.3364, allocations: 108.4 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.3369, allocations: 326 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3369, allocations: 0 / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.337, allocations: 64.41 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3374, allocations: 38.23 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3379, allocations: 292.2 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.338, allocations: 94.78 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.338, allocations: 15.44 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.338, allocations: 0 / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of Templates: time 0.004116/0.3421, allocations: 2.003 MB / 1.294 GB, free: 0.7617 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.175165096763521]