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.001563/0.001563, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001691/0.001691, allocations: 173 kB / 24.28 MB, free: 276 kB / 18.57 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 0.9747/0.9747, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.833/1.833, allocations: 359 MB / 0.6055 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.764e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001441/0.001469, allocations: 0.7755 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002767, allocations: 1.292 MB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.002834, allocations: 0 / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.002873, allocations: 17.42 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.002948, allocations: 15.88 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.003521, allocations: 256.5 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.003771, allocations: 252.5 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.003908, allocations: 37.27 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.004064, allocations: 148.7 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.00419, allocations: 87.77 kB / 0.7899 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.004225, allocations: 24 kB / 0.7899 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.004294, allocations: 32.5 kB / 0.79 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.00433, allocations: 37.05 kB / 0.79 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.004408, allocations: 75.86 kB / 0.7901 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.004693, allocations: 211.3 kB / 0.7903 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004696, allocations: 0.5625 kB / 0.7903 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004696, allocations: 0 / 0.7903 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.004701, allocations: 0.6875 kB / 0.7903 GB, free: 9.527 MB / 0.7448 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.0005701/0.005271, allocations: 0.5083 MB / 0.7908 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005308, allocations: 8.031 kB / 0.7908 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.005383, allocations: 36.83 kB / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.005726, allocations: 178.8 kB / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.005748, allocations: 16.36 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.005777, allocations: 20.38 kB / 0.791 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.005955, allocations: 114.1 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005964, allocations: 3.656 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.005978, allocations: 8.359 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.00599, allocations: 8.125 kB / 0.7912 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.00607, allocations: 54.36 kB / 0.7912 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.006567, allocations: 415.2 kB / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.006698, allocations: 79.02 kB / 0.7917 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.006738, allocations: 31.67 kB / 0.7917 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.006744, allocations: 0 / 0.7917 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.00692, allocations: 138.1 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.006922, allocations: 1.656 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003265/0.007248, allocations: 229.4 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.007287, allocations: 55.41 kB / 0.7921 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007396, allocations: 207.1 kB / 0.7923 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.00742, allocations: 30.67 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.007494, allocations: 159.2 kB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.007516, allocations: 35.72 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.007592, allocations: 71.84 kB / 0.7926 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.007719, allocations: 0.4972 MB / 0.7931 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.007846, allocations: 123.3 kB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.007988, allocations: 206.5 kB / 0.7934 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.008154, allocations: 231 kB / 0.7936 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008156, allocations: 0 / 0.7936 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003424/0.008498, allocations: 371.2 kB / 0.794 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.008537, allocations: 67.39 kB / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.008544, allocations: 4 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008558, allocations: 3.938 kB / 0.794 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.976e-05/0.008577, allocations: 12.66 kB / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.008583, allocations: 0 / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.008744, allocations: 53.72 kB / 0.7941 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.008767, allocations: 15.98 kB / 0.7941 GB, free: 5.254 MB / 0.7448 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 9.94e-05/0.008867, allocations: 177.9 kB / 0.7943 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.008894, allocations: 23.89 kB / 0.7943 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.008922, allocations: 14 kB / 0.7943 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.008927, allocations: 11.92 kB / 0.7943 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.008931, allocations: 0 / 0.7943 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008934, allocations: 0.5625 kB / 0.7943 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.009249, allocations: 457.2 kB / 0.7948 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.009251, allocations: 1.156 kB / 0.7948 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-06/0.009258, allocations: 0 / 0.7948 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009261, allocations: 0 / 0.7948 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.009272, allocations: 20.55 kB / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009274, allocations: 0 / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009275, allocations: 1.062 kB / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.009478, allocations: 338.2 kB / 0.7951 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.00949, allocations: 20.92 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.009506, allocations: 11.94 kB / 0.7952 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.00954, allocations: 3.984 kB / 0.7952 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.009579, allocations: 12.83 kB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.009597, allocations: 15.98 kB / 0.7952 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.009646, allocations: 141.7 kB / 0.7953 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009646, allocations: 2.219 kB / 0.7953 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000205/0.009851, allocations: 40 kB / 0.7954 GB, free: 3.934 MB / 0.7448 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.0001193/0.00997, allocations: 115.2 kB / 0.7955 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.01028, allocations: 332.5 kB / 0.7958 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01028, allocations: 0 / 0.7958 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.01034, allocations: 59.59 kB / 0.7958 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01056, allocations: 25.56 kB / 0.7959 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.01094, allocations: 265.1 kB / 0.7961 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.01099, allocations: 75.83 kB / 0.7962 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.01102, allocations: 10.78 kB / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.01104, allocations: 16.48 kB / 0.7962 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01104, allocations: 0.5 kB / 0.7962 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of Templates: time 0.004012/0.01505, allocations: 2.339 MB / 0.7985 GB, free: 0.6719 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.365086409030482]