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.0009977/0.0009977, 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.001118/0.001118, 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 0.9982/0.9982, allocations: 177.2 MB / 204.2 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.857/1.857, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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 3.978e-06/3.978e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.901e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002335/0.002374, allocations: 0.7948 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.004244, allocations: 1.287 MB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.004324, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.33e-05/0.004377, allocations: 12.42 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.004478, allocations: 24.73 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.005282, allocations: 252.4 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.005693, allocations: 257 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.00589, allocations: 37.28 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.006113, allocations: 151.7 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.006286, allocations: 78.42 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.00634, allocations: 24 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.006434, allocations: 31.98 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.006476, allocations: 31.89 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.006573, allocations: 75.86 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.006902, allocations: 193.2 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006906, allocations: 0 / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.006908, allocations: 0 / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.006914, allocations: 0 / 0.7903 GB, free: 9.223 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.0007017/0.007616, allocations: 0.5097 MB / 0.7908 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.007666, allocations: 8.031 kB / 0.7908 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.007769, allocations: 36.83 kB / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.008039, allocations: 160.4 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.008064, allocations: 12.38 kB / 0.791 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.008103, allocations: 20.38 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.008332, allocations: 117.1 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.008345, allocations: 192 / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.008363, allocations: 10.03 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.008375, allocations: 8.125 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.008474, allocations: 47.95 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.009105, allocations: 416 kB / 0.7916 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.009283, allocations: 83.02 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.009334, allocations: 40.44 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.00934, allocations: 0 / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.009585, allocations: 126.4 kB / 0.7918 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.009587, allocations: 3.938 kB / 0.7918 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004493/0.01004, allocations: 234.8 kB / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.01009, allocations: 59.34 kB / 0.7921 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.01022, allocations: 200 kB / 0.7923 GB, free: 7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.01025, allocations: 33.7 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.01035, allocations: 163.4 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.01038, allocations: 35.72 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01049, allocations: 76.05 kB / 0.7926 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.01063, allocations: 0.4884 MB / 0.7931 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.01089, allocations: 119.9 kB / 0.7932 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01107, allocations: 218.1 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.0113, allocations: 222.3 kB / 0.7936 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01131, allocations: 0 / 0.7936 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004704/0.01178, allocations: 362.7 kB / 0.7939 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.01183, allocations: 71.39 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.01184, allocations: 3.984 kB / 0.794 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.01186, allocations: 9.688 kB / 0.794 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.01189, allocations: 7.938 kB / 0.794 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.0119, allocations: 7.984 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.01218, allocations: 49.14 kB / 0.7941 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.01221, allocations: 11.98 kB / 0.7941 GB, free: 4.973 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 0.0001471/0.01236, allocations: 178 kB / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.0124, allocations: 23.89 kB / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.01244, allocations: 18.38 kB / 0.7943 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01245, allocations: 3.938 kB / 0.7943 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01245, allocations: 0 / 0.7943 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01246, allocations: 3.984 kB / 0.7943 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.01291, allocations: 456.9 kB / 0.7947 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01291, allocations: 0 / 0.7947 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.01293, allocations: 4 kB / 0.7947 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01293, allocations: 7.312 kB / 0.7948 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.01295, allocations: 15.92 kB / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01295, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.01295, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.01325, allocations: 339.7 kB / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.01326, allocations: 15.84 kB / 0.7951 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01329, allocations: 7.938 kB / 0.7951 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.01335, allocations: 7.984 kB / 0.7951 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.0134, allocations: 7.984 kB / 0.7951 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.01343, allocations: 16.48 kB / 0.7951 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.01351, allocations: 137.1 kB / 0.7953 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01351, allocations: 0 / 0.7953 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003422/0.01385, allocations: 44 kB / 0.7953 GB, free: 3.656 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.0001928/0.01404, allocations: 112.1 kB / 0.7954 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.01443, allocations: 326.5 kB / 0.7957 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01443, allocations: 2.812 kB / 0.7957 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.01452, allocations: 63.59 kB / 0.7958 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.01487, allocations: 33.92 kB / 0.7958 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.01538, allocations: 262.8 kB / 0.7961 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.01544, allocations: 70.25 kB / 0.7962 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.01549, allocations: 13.14 kB / 0.7962 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.01552, allocations: 12.5 kB / 0.7962 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.01552, allocations: 0 / 0.7962 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of Templates: time 0.006288/0.02181, allocations: 2.488 MB / 0.7986 GB, free: 260 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.261642130091786]