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.001795/0.001795, 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.002255/0.002255, allocations: 215.3 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.146/3.146, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 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.003018/0.003018, allocations: 78.58 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3325, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002069/0.3345, allocations: 0.7523 MB / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3362, allocations: 1.264 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.3363, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.3363, allocations: 19.8 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.3364, allocations: 11.88 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.3371, allocations: 250.9 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.3375, allocations: 255.5 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3376, allocations: 38.03 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3378, allocations: 103.8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3379, allocations: 95.61 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.338, allocations: 24 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.3381, allocations: 43.92 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.3381, allocations: 35.89 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3382, allocations: 83.75 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3386, allocations: 255.1 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3386, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3386, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3386, allocations: 0 / 1.329 GB, free: 14.66 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.0006614/0.3392, allocations: 425.2 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3393, allocations: 12.03 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.3393, allocations: 20.84 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.3399, allocations: 182.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.3399, allocations: 16.31 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.3399, allocations: 24.36 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3402, allocations: 122.2 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3402, allocations: 3.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.3402, allocations: 8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3402, allocations: 3.984 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3404, allocations: 67.97 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.3409, allocations: 360 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3411, allocations: 74.55 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.3412, allocations: 44.77 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3412, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.3415, allocations: 127.2 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 5.12e-06/0.3415, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004645/0.342, allocations: 251.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.342, allocations: 55.41 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3421, allocations: 139.2 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.3422, allocations: 33.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.3423, allocations: 116.6 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3423, allocations: 31.78 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3424, allocations: 69.67 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3426, allocations: 318.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3428, allocations: 131.3 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.343, allocations: 197 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.3433, allocations: 211 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3433, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005444/0.3438, allocations: 381.9 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.3439, allocations: 67.33 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3439, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3439, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.588e-05/0.3439, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3439, allocations: 11.88 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3442, allocations: 64.08 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3443, allocations: 19.98 kB / 1.333 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.0001358/0.3444, allocations: 130.4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.3444, allocations: 15.89 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.3445, allocations: 8.781 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.3445, allocations: 7.984 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3445, allocations: 7.875 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3445, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.345, allocations: 418 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.345, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.345, allocations: 11.94 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.345, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.345, allocations: 7.984 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.345, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.345, allocations: 3.984 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3454, allocations: 301.8 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.3454, allocations: 3.953 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3454, allocations: 7.984 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.3455, allocations: 4 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.3456, allocations: 23.97 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3456, allocations: 12 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.3456, allocations: 91.89 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3456, allocations: 0 / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003235/0.346, allocations: 55.88 kB / 1.334 GB, free: 9.664 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.0001594/0.3461, allocations: 111.2 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.3466, allocations: 330.4 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.3466, allocations: 4.062 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3467, allocations: 55.97 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.0003333/0.347, allocations: 25.33 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.3476, allocations: 297 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3477, allocations: 102.8 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.3477, allocations: 15.44 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3477, allocations: 0 / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of Templates: time 0.004024/0.3517, allocations: 2 MB / 1.337 GB, free: 6.656 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: 10.954134135041386]