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.001101/0.001101, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001072/0.001072, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 1.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.808/1.808, allocations: 359 MB / 0.6052 GB, free: 10.99 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 1.683e-06/1.683e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.497e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001368/0.001393, allocations: 0.7818 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.002661, allocations: 1.298 MB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.002707, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.002742, allocations: 7.875 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.002816, allocations: 27.72 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.003321, allocations: 244.4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.00367, allocations: 257.1 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.003798, allocations: 41.28 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.003928, allocations: 147.8 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.004044, allocations: 81.11 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.004078, allocations: 24 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.004142, allocations: 35.98 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.004178, allocations: 31.89 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.004251, allocations: 81.89 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.00445, allocations: 203.4 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004452, allocations: 0 / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004453, allocations: 0 / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.004456, allocations: 0 / 0.7903 GB, free: 9.234 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.0004508/0.004907, allocations: 0.5173 MB / 0.7908 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.004943, allocations: 15.97 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.005008, allocations: 36.83 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.005327, allocations: 180.5 kB / 0.791 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.005342, allocations: 16.36 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.00537, allocations: 16.88 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.005516, allocations: 126 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.005524, allocations: 192 / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.005537, allocations: 4.375 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.005545, allocations: 4.125 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.005616, allocations: 57.7 kB / 0.7912 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.006012, allocations: 415.3 kB / 0.7916 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.006129, allocations: 79.03 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.006165, allocations: 36.5 kB / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.00617, allocations: 0 / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.006315, allocations: 132 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 8.71e-07/0.006316, allocations: 0 / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002876/0.006604, allocations: 225.4 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.006637, allocations: 63.34 kB / 0.7921 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.006727, allocations: 199.7 kB / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.006749, allocations: 33.7 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.006815, allocations: 159.4 kB / 0.7925 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.006835, allocations: 40.45 kB / 0.7925 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.006909, allocations: 75.86 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.007015, allocations: 0.4923 MB / 0.7931 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.007127, allocations: 117 kB / 0.7932 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.00726, allocations: 207 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.007414, allocations: 229 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.007416, allocations: 1.156 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003128/0.007729, allocations: 377.4 kB / 0.794 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.007763, allocations: 64.28 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007767, allocations: 0 / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.007785, allocations: 7.938 kB / 0.794 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.662e-05/0.007801, allocations: 8.828 kB / 0.7941 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.007809, allocations: 7.938 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.007949, allocations: 49.14 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.007969, allocations: 20.8 kB / 0.7941 GB, free: 4.941 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 8.76e-05/0.008057, allocations: 173.4 kB / 0.7943 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.008075, allocations: 19.91 kB / 0.7943 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.008101, allocations: 14.34 kB / 0.7943 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008104, allocations: 7.922 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.008109, allocations: 4 kB / 0.7943 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008112, allocations: 1.156 kB / 0.7943 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.008395, allocations: 456.1 kB / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008396, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-06/0.008404, allocations: 11.17 kB / 0.7948 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.008405, allocations: 0 / 0.7948 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.008415, allocations: 7.938 kB / 0.7948 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.008418, allocations: 3.938 kB / 0.7948 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.00842, allocations: 4 kB / 0.7948 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.008606, allocations: 335.8 kB / 0.7951 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.008616, allocations: 15.84 kB / 0.7951 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.00863, allocations: 15.92 kB / 0.7952 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.008663, allocations: 0 / 0.7952 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.008698, allocations: 16.47 kB / 0.7952 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.008713, allocations: 9.938 kB / 0.7952 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.008754, allocations: 143.2 kB / 0.7953 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008754, allocations: 0 / 0.7953 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001897/0.008944, allocations: 43.98 kB / 0.7954 GB, free: 3.629 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.0001074/0.009051, allocations: 112 kB / 0.7955 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.009321, allocations: 333.1 kB / 0.7958 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009323, allocations: 0 / 0.7958 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.703e-05/0.00938, allocations: 59.59 kB / 0.7958 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.009579, allocations: 31.89 kB / 0.7959 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.009903, allocations: 267.3 kB / 0.7961 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.009938, allocations: 67.78 kB / 0.7962 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.009968, allocations: 17.12 kB / 0.7962 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.009989, allocations: 16.5 kB / 0.7962 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.009989, allocations: 0.9375 kB / 0.7962 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.00373/0.01372, allocations: 2.342 MB / 0.7985 GB, free: 372 kB / 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.215282320976257]