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.001321/0.001321, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001524/0.001524, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.183/3.183, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002034/0.002034, allocations: 71.06 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3999, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002008/0.4019, allocations: 0.7523 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4036, allocations: 1.268 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.4037, allocations: 3.938 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.4037, allocations: 7.875 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.4038, allocations: 23.78 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.4045, allocations: 248.2 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.4048, allocations: 259.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.405, allocations: 37.3 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.4051, allocations: 103.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.4053, allocations: 107.7 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.4053, allocations: 24 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.4054, allocations: 39.92 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.4055, allocations: 39.84 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.4056, allocations: 83.73 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.4059, allocations: 247.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4059, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4059, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4059, allocations: 4 kB / 1.33 GB, free: 13.77 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.0006712/0.4066, allocations: 421.2 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.4066, allocations: 8.031 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.4067, allocations: 28.77 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/0.4072, allocations: 186.4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.4072, allocations: 20.3 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.4073, allocations: 16.38 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4075, allocations: 134.1 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4076, allocations: 3.938 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4076, allocations: 8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4076, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.4077, allocations: 71.95 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.4083, allocations: 340.1 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4085, allocations: 82.53 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.4085, allocations: 36.83 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.4085, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.4088, allocations: 143.3 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4088, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004575/0.4093, allocations: 237.5 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.4093, allocations: 59.39 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4095, allocations: 149.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.4095, allocations: 33.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.4096, allocations: 112.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4096, allocations: 27.81 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4098, allocations: 69.67 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4099, allocations: 322.8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.4101, allocations: 131.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.4103, allocations: 191.7 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4106, allocations: 212.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4106, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005567/0.4112, allocations: 386.7 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/0.4112, allocations: 67.34 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4112, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4113, allocations: 11.97 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.218e-05/0.4113, allocations: 7.938 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4113, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.4116, allocations: 72.02 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.4117, allocations: 15.98 kB / 1.334 GB, free: 9.922 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.0001382/0.4118, allocations: 130.3 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.4118, allocations: 23.88 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.4119, allocations: 8.781 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4119, allocations: 4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4119, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4119, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.4124, allocations: 422 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4124, allocations: 0 / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.4124, allocations: 4 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4124, allocations: 0 / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.4124, allocations: 11.98 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4124, allocations: 0 / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4124, allocations: 0 / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.4128, allocations: 299.2 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.4128, allocations: 7.953 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4128, allocations: 8 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.4129, allocations: 3.984 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4129, allocations: 15.98 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.4129, allocations: 11.98 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.413, allocations: 95.27 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.413, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003161/0.4133, allocations: 55.88 kB / 1.335 GB, free: 8.773 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.0001454/0.4135, allocations: 99.25 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.4139, allocations: 343.8 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4139, allocations: 0 / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.414, allocations: 55.91 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.4144, allocations: 27.91 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.4149, allocations: 267.4 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.504e-05/0.415, allocations: 99.28 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.415, allocations: 9.078 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.415, allocations: 15.44 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.415, allocations: 0 / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of Templates: time 0.006025/0.421, allocations: 2.428 MB / 1.338 GB, free: 5.41 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 -s gbode -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: 8.793399900998338]